Class ManagedDevice

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ManagedDevice
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class ManagedDevice extends Entity implements com.microsoft.kiota.serialization.Parsable
Devices that are managed or pre-enrolled through Intune
  • Constructor Details

    • ManagedDevice

      public ManagedDevice()
      Instantiates a new ManagedDevice and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static ManagedDevice createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a ManagedDevice
    • getActivationLockBypassCode

      @Nullable public String getActivationLockBypassCode()
      Gets the activationLockBypassCode property value. The code that allows the Activation Lock on managed device to be bypassed. Default, is Null (Non-Default property) for this property when returned as part of managedDevice entity in LIST call. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. $Search is not supported. Read-only. This property is read-only.
      Returns:
      a String
    • getAndroidSecurityPatchLevel

      @Nullable public String getAndroidSecurityPatchLevel()
      Gets the androidSecurityPatchLevel property value. Android security patch level. This property is read-only.
      Returns:
      a String
    • getAzureADDeviceId

      @Nullable public String getAzureADDeviceId()
      Gets the azureADDeviceId property value. The unique identifier for the Azure Active Directory device. Read only. This property is read-only.
      Returns:
      a String
    • getAzureADRegistered

      @Nullable public Boolean getAzureADRegistered()
      Gets the azureADRegistered property value. Whether the device is Azure Active Directory registered. This property is read-only.
      Returns:
      a Boolean
    • getComplianceGracePeriodExpirationDateTime

      @Nullable public OffsetDateTime getComplianceGracePeriodExpirationDateTime()
      Gets the complianceGracePeriodExpirationDateTime property value. The DateTime when device compliance grace period expires. This property is read-only.
      Returns:
      a OffsetDateTime
    • getComplianceState

      @Nullable public ComplianceState getComplianceState()
      Gets the complianceState property value. Compliance state.
      Returns:
      a ComplianceState
    • getConfigurationManagerClientEnabledFeatures

      @Nullable public ConfigurationManagerClientEnabledFeatures getConfigurationManagerClientEnabledFeatures()
      Gets the configurationManagerClientEnabledFeatures property value. ConfigrMgr client enabled features. This property is read-only.
      Returns:
      a ConfigurationManagerClientEnabledFeatures
    • getDeviceActionResults

      @Nullable public List<DeviceActionResult> getDeviceActionResults()
      Gets the deviceActionResults property value. List of ComplexType deviceActionResult objects. This property is read-only.
      Returns:
      a List<DeviceActionResult>
    • getDeviceCategory

      @Nullable public DeviceCategory getDeviceCategory()
      Gets the deviceCategory property value. Device category
      Returns:
      a DeviceCategory
    • getDeviceCategoryDisplayName

      @Nullable public String getDeviceCategoryDisplayName()
      Gets the deviceCategoryDisplayName property value. Device category display name. Default is an empty string. Supports $filter operator 'eq' and 'or'. This property is read-only.
      Returns:
      a String
    • getDeviceCompliancePolicyStates

      @Nullable public List<DeviceCompliancePolicyState> getDeviceCompliancePolicyStates()
      Gets the deviceCompliancePolicyStates property value. Device compliance policy states for this device.
      Returns:
      a List<DeviceCompliancePolicyState>
    • getDeviceConfigurationStates

      @Nullable public List<DeviceConfigurationState> getDeviceConfigurationStates()
      Gets the deviceConfigurationStates property value. Device configuration states for this device.
      Returns:
      a List<DeviceConfigurationState>
    • getDeviceEnrollmentType

      @Nullable public DeviceEnrollmentType getDeviceEnrollmentType()
      Gets the deviceEnrollmentType property value. Possible ways of adding a mobile device to management.
      Returns:
      a DeviceEnrollmentType
    • getDeviceHealthAttestationState

      @Nullable public DeviceHealthAttestationState getDeviceHealthAttestationState()
      Gets the deviceHealthAttestationState property value. The device health attestation state. This property is read-only.
      Returns:
      a DeviceHealthAttestationState
    • getDeviceName

      @Nullable public String getDeviceName()
      Gets the deviceName property value. Name of the device. This property is read-only.
      Returns:
      a String
    • getDeviceRegistrationState

      @Nullable public DeviceRegistrationState getDeviceRegistrationState()
      Gets the deviceRegistrationState property value. Device registration status.
      Returns:
      a DeviceRegistrationState
    • getEasActivated

      @Nullable public Boolean getEasActivated()
      Gets the easActivated property value. Whether the device is Exchange ActiveSync activated. This property is read-only.
      Returns:
      a Boolean
    • getEasActivationDateTime

      @Nullable public OffsetDateTime getEasActivationDateTime()
      Gets the easActivationDateTime property value. Exchange ActivationSync activation time of the device. This property is read-only.
      Returns:
      a OffsetDateTime
    • getEasDeviceId

      @Nullable public String getEasDeviceId()
      Gets the easDeviceId property value. Exchange ActiveSync Id of the device. This property is read-only.
      Returns:
      a String
    • getEmailAddress

      @Nullable public String getEmailAddress()
      Gets the emailAddress property value. Email(s) for the user associated with the device. This property is read-only.
      Returns:
      a String
    • getEnrolledDateTime

      @Nullable public OffsetDateTime getEnrolledDateTime()
      Gets the enrolledDateTime property value. Enrollment time of the device. Supports $filter operator 'lt' and 'gt'. This property is read-only.
      Returns:
      a OffsetDateTime
    • getEnrollmentProfileName

      @Nullable public String getEnrollmentProfileName()
      Gets the enrollmentProfileName property value. Name of the enrollment profile assigned to the device. Default value is empty string, indicating no enrollment profile was assgined. This property is read-only.
      Returns:
      a String
    • getEthernetMacAddress

      @Nullable public String getEthernetMacAddress()
      Gets the ethernetMacAddress property value. Indicates Ethernet MAC Address of the device. Default, is Null (Non-Default property) for this property when returned as part of managedDevice entity. Individual get call with select query options is needed to retrieve actual values. Example: deviceManagement/managedDevices({managedDeviceId})?$select=ethernetMacAddress Supports: $select. $Search is not supported. Read-only. This property is read-only.
      Returns:
      a String
    • getExchangeAccessState

      @Nullable public DeviceManagementExchangeAccessState getExchangeAccessState()
      Gets the exchangeAccessState property value. Device Exchange Access State.
      Returns:
      a DeviceManagementExchangeAccessState
    • getExchangeAccessStateReason

      @Nullable public DeviceManagementExchangeAccessStateReason getExchangeAccessStateReason()
      Gets the exchangeAccessStateReason property value. Device Exchange Access State Reason.
      Returns:
      a DeviceManagementExchangeAccessStateReason
    • getExchangeLastSuccessfulSyncDateTime

      @Nullable public OffsetDateTime getExchangeLastSuccessfulSyncDateTime()
      Gets the exchangeLastSuccessfulSyncDateTime property value. Last time the device contacted Exchange. This property is read-only.
      Returns:
      a OffsetDateTime
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFreeStorageSpaceInBytes

      @Nullable public Long getFreeStorageSpaceInBytes()
      Gets the freeStorageSpaceInBytes property value. Free Storage in Bytes. Default value is 0. Read-only. This property is read-only.
      Returns:
      a Long
    • getIccid

      @Nullable public String getIccid()
      Gets the iccid property value. Integrated Circuit Card Identifier, it is A SIM card's unique identification number. Default is an empty string. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. $Search is not supported. Read-only. This property is read-only.
      Returns:
      a String
    • getImei

      @Nullable public String getImei()
      Gets the imei property value. IMEI. This property is read-only.
      Returns:
      a String
    • getIsEncrypted

      @Nullable public Boolean getIsEncrypted()
      Gets the isEncrypted property value. Device encryption status. This property is read-only.
      Returns:
      a Boolean
    • getIsSupervised

      @Nullable public Boolean getIsSupervised()
      Gets the isSupervised property value. Device supervised status. This property is read-only.
      Returns:
      a Boolean
    • getJailBroken

      @Nullable public String getJailBroken()
      Gets the jailBroken property value. Whether the device is jail broken or rooted. Default is an empty string. Supports $filter operator 'eq' and 'or'. This property is read-only.
      Returns:
      a String
    • getLastSyncDateTime

      @Nullable public OffsetDateTime getLastSyncDateTime()
      Gets the lastSyncDateTime property value. The date and time that the device last completed a successful sync with Intune. Supports $filter operator 'lt' and 'gt'. This property is read-only.
      Returns:
      a OffsetDateTime
    • getLogCollectionRequests

      @Nullable public List<DeviceLogCollectionResponse> getLogCollectionRequests()
      Gets the logCollectionRequests property value. List of log collection requests
      Returns:
      a List<DeviceLogCollectionResponse>
    • getManagedDeviceName

      @Nullable public String getManagedDeviceName()
      Gets the managedDeviceName property value. Automatically generated name to identify a device. Can be overwritten to a user friendly name.
      Returns:
      a String
    • getManagedDeviceOwnerType

      @Nullable public ManagedDeviceOwnerType getManagedDeviceOwnerType()
      Gets the managedDeviceOwnerType property value. Owner type of device.
      Returns:
      a ManagedDeviceOwnerType
    • getManagementAgent

      @Nullable public ManagementAgentType getManagementAgent()
      Gets the managementAgent property value. The managementAgent property
      Returns:
      a ManagementAgentType
    • getManagementCertificateExpirationDate

      @Nullable public OffsetDateTime getManagementCertificateExpirationDate()
      Gets the managementCertificateExpirationDate property value. Reports device management certificate expiration date. This property is read-only.
      Returns:
      a OffsetDateTime
    • getManufacturer

      @Nullable public String getManufacturer()
      Gets the manufacturer property value. Manufacturer of the device. This property is read-only.
      Returns:
      a String
    • getMeid

      @Nullable public String getMeid()
      Gets the meid property value. MEID. This property is read-only.
      Returns:
      a String
    • getModel

      @Nullable public String getModel()
      Gets the model property value. Model of the device. This property is read-only.
      Returns:
      a String
    • getNotes

      @Nullable public String getNotes()
      Gets the notes property value. Notes on the device created by IT Admin. Default is null. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. $Search is not supported.
      Returns:
      a String
    • getOperatingSystem

      @Nullable public String getOperatingSystem()
      Gets the operatingSystem property value. Operating system of the device. Windows, iOS, etc. This property is read-only.
      Returns:
      a String
    • getOsVersion

      @Nullable public String getOsVersion()
      Gets the osVersion property value. Operating system version of the device. This property is read-only.
      Returns:
      a String
    • getPartnerReportedThreatState

      @Nullable public ManagedDevicePartnerReportedHealthState getPartnerReportedThreatState()
      Gets the partnerReportedThreatState property value. Available health states for the Device Health API
      Returns:
      a ManagedDevicePartnerReportedHealthState
    • getPhoneNumber

      @Nullable public String getPhoneNumber()
      Gets the phoneNumber property value. Phone number of the device. This property is read-only.
      Returns:
      a String
    • getPhysicalMemoryInBytes

      @Nullable public Long getPhysicalMemoryInBytes()
      Gets the physicalMemoryInBytes property value. Total Memory in Bytes. Default is 0. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. Read-only. This property is read-only.
      Returns:
      a Long
    • getRemoteAssistanceSessionErrorDetails

      @Nullable public String getRemoteAssistanceSessionErrorDetails()
      Gets the remoteAssistanceSessionErrorDetails property value. An error string that identifies issues when creating Remote Assistance session objects. This property is read-only.
      Returns:
      a String
    • getRemoteAssistanceSessionUrl

      @Nullable public String getRemoteAssistanceSessionUrl()
      Gets the remoteAssistanceSessionUrl property value. Url that allows a Remote Assistance session to be established with the device. Default is an empty string. To retrieve actual values GET call needs to be made, with device id and included in select parameter. This property is read-only.
      Returns:
      a String
    • getRequireUserEnrollmentApproval

      @Nullable public Boolean getRequireUserEnrollmentApproval()
      Gets the requireUserEnrollmentApproval property value. Reports if the managed iOS device is user approval enrollment. This property is read-only.
      Returns:
      a Boolean
    • getSerialNumber

      @Nullable public String getSerialNumber()
      Gets the serialNumber property value. SerialNumber. This property is read-only.
      Returns:
      a String
    • getSubscriberCarrier

      @Nullable public String getSubscriberCarrier()
      Gets the subscriberCarrier property value. Subscriber Carrier. This property is read-only.
      Returns:
      a String
    • getTotalStorageSpaceInBytes

      @Nullable public Long getTotalStorageSpaceInBytes()
      Gets the totalStorageSpaceInBytes property value. Total Storage in Bytes. This property is read-only.
      Returns:
      a Long
    • getUdid

      @Nullable public String getUdid()
      Gets the udid property value. Unique Device Identifier for iOS and macOS devices. Default is an empty string. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. $Search is not supported. Read-only. This property is read-only.
      Returns:
      a String
    • getUserDisplayName

      @Nullable public String getUserDisplayName()
      Gets the userDisplayName property value. User display name. This property is read-only.
      Returns:
      a String
    • getUserId

      @Nullable public String getUserId()
      Gets the userId property value. Unique Identifier for the user associated with the device. This property is read-only.
      Returns:
      a String
    • getUserPrincipalName

      @Nullable public String getUserPrincipalName()
      Gets the userPrincipalName property value. Device user principal name. This property is read-only.
      Returns:
      a String
    • getUsers

      @Nullable public List<User> getUsers()
      Gets the users property value. The primary users associated with the managed device.
      Returns:
      a List<User>
    • getWiFiMacAddress

      @Nullable public String getWiFiMacAddress()
      Gets the wiFiMacAddress property value. Wi-Fi MAC. This property is read-only.
      Returns:
      a String
    • getWindowsProtectionState

      @Nullable public WindowsProtectionState getWindowsProtectionState()
      Gets the windowsProtectionState property value. The device protection status. This property is read-only.
      Returns:
      a WindowsProtectionState
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setActivationLockBypassCode

      public void setActivationLockBypassCode(@Nullable String value)
      Sets the activationLockBypassCode property value. The code that allows the Activation Lock on managed device to be bypassed. Default, is Null (Non-Default property) for this property when returned as part of managedDevice entity in LIST call. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. $Search is not supported. Read-only. This property is read-only.
      Parameters:
      value - Value to set for the activationLockBypassCode property.
    • setAndroidSecurityPatchLevel

      public void setAndroidSecurityPatchLevel(@Nullable String value)
      Sets the androidSecurityPatchLevel property value. Android security patch level. This property is read-only.
      Parameters:
      value - Value to set for the androidSecurityPatchLevel property.
    • setAzureADDeviceId

      public void setAzureADDeviceId(@Nullable String value)
      Sets the azureADDeviceId property value. The unique identifier for the Azure Active Directory device. Read only. This property is read-only.
      Parameters:
      value - Value to set for the azureADDeviceId property.
    • setAzureADRegistered

      public void setAzureADRegistered(@Nullable Boolean value)
      Sets the azureADRegistered property value. Whether the device is Azure Active Directory registered. This property is read-only.
      Parameters:
      value - Value to set for the azureADRegistered property.
    • setComplianceGracePeriodExpirationDateTime

      public void setComplianceGracePeriodExpirationDateTime(@Nullable OffsetDateTime value)
      Sets the complianceGracePeriodExpirationDateTime property value. The DateTime when device compliance grace period expires. This property is read-only.
      Parameters:
      value - Value to set for the complianceGracePeriodExpirationDateTime property.
    • setComplianceState

      public void setComplianceState(@Nullable ComplianceState value)
      Sets the complianceState property value. Compliance state.
      Parameters:
      value - Value to set for the complianceState property.
    • setConfigurationManagerClientEnabledFeatures

      public void setConfigurationManagerClientEnabledFeatures(@Nullable ConfigurationManagerClientEnabledFeatures value)
      Sets the configurationManagerClientEnabledFeatures property value. ConfigrMgr client enabled features. This property is read-only.
      Parameters:
      value - Value to set for the configurationManagerClientEnabledFeatures property.
    • setDeviceActionResults

      public void setDeviceActionResults(@Nullable List<DeviceActionResult> value)
      Sets the deviceActionResults property value. List of ComplexType deviceActionResult objects. This property is read-only.
      Parameters:
      value - Value to set for the deviceActionResults property.
    • setDeviceCategory

      public void setDeviceCategory(@Nullable DeviceCategory value)
      Sets the deviceCategory property value. Device category
      Parameters:
      value - Value to set for the deviceCategory property.
    • setDeviceCategoryDisplayName

      public void setDeviceCategoryDisplayName(@Nullable String value)
      Sets the deviceCategoryDisplayName property value. Device category display name. Default is an empty string. Supports $filter operator 'eq' and 'or'. This property is read-only.
      Parameters:
      value - Value to set for the deviceCategoryDisplayName property.
    • setDeviceCompliancePolicyStates

      public void setDeviceCompliancePolicyStates(@Nullable List<DeviceCompliancePolicyState> value)
      Sets the deviceCompliancePolicyStates property value. Device compliance policy states for this device.
      Parameters:
      value - Value to set for the deviceCompliancePolicyStates property.
    • setDeviceConfigurationStates

      public void setDeviceConfigurationStates(@Nullable List<DeviceConfigurationState> value)
      Sets the deviceConfigurationStates property value. Device configuration states for this device.
      Parameters:
      value - Value to set for the deviceConfigurationStates property.
    • setDeviceEnrollmentType

      public void setDeviceEnrollmentType(@Nullable DeviceEnrollmentType value)
      Sets the deviceEnrollmentType property value. Possible ways of adding a mobile device to management.
      Parameters:
      value - Value to set for the deviceEnrollmentType property.
    • setDeviceHealthAttestationState

      public void setDeviceHealthAttestationState(@Nullable DeviceHealthAttestationState value)
      Sets the deviceHealthAttestationState property value. The device health attestation state. This property is read-only.
      Parameters:
      value - Value to set for the deviceHealthAttestationState property.
    • setDeviceName

      public void setDeviceName(@Nullable String value)
      Sets the deviceName property value. Name of the device. This property is read-only.
      Parameters:
      value - Value to set for the deviceName property.
    • setDeviceRegistrationState

      public void setDeviceRegistrationState(@Nullable DeviceRegistrationState value)
      Sets the deviceRegistrationState property value. Device registration status.
      Parameters:
      value - Value to set for the deviceRegistrationState property.
    • setEasActivated

      public void setEasActivated(@Nullable Boolean value)
      Sets the easActivated property value. Whether the device is Exchange ActiveSync activated. This property is read-only.
      Parameters:
      value - Value to set for the easActivated property.
    • setEasActivationDateTime

      public void setEasActivationDateTime(@Nullable OffsetDateTime value)
      Sets the easActivationDateTime property value. Exchange ActivationSync activation time of the device. This property is read-only.
      Parameters:
      value - Value to set for the easActivationDateTime property.
    • setEasDeviceId

      public void setEasDeviceId(@Nullable String value)
      Sets the easDeviceId property value. Exchange ActiveSync Id of the device. This property is read-only.
      Parameters:
      value - Value to set for the easDeviceId property.
    • setEmailAddress

      public void setEmailAddress(@Nullable String value)
      Sets the emailAddress property value. Email(s) for the user associated with the device. This property is read-only.
      Parameters:
      value - Value to set for the emailAddress property.
    • setEnrolledDateTime

      public void setEnrolledDateTime(@Nullable OffsetDateTime value)
      Sets the enrolledDateTime property value. Enrollment time of the device. Supports $filter operator 'lt' and 'gt'. This property is read-only.
      Parameters:
      value - Value to set for the enrolledDateTime property.
    • setEnrollmentProfileName

      public void setEnrollmentProfileName(@Nullable String value)
      Sets the enrollmentProfileName property value. Name of the enrollment profile assigned to the device. Default value is empty string, indicating no enrollment profile was assgined. This property is read-only.
      Parameters:
      value - Value to set for the enrollmentProfileName property.
    • setEthernetMacAddress

      public void setEthernetMacAddress(@Nullable String value)
      Sets the ethernetMacAddress property value. Indicates Ethernet MAC Address of the device. Default, is Null (Non-Default property) for this property when returned as part of managedDevice entity. Individual get call with select query options is needed to retrieve actual values. Example: deviceManagement/managedDevices({managedDeviceId})?$select=ethernetMacAddress Supports: $select. $Search is not supported. Read-only. This property is read-only.
      Parameters:
      value - Value to set for the ethernetMacAddress property.
    • setExchangeAccessState

      public void setExchangeAccessState(@Nullable DeviceManagementExchangeAccessState value)
      Sets the exchangeAccessState property value. Device Exchange Access State.
      Parameters:
      value - Value to set for the exchangeAccessState property.
    • setExchangeAccessStateReason

      public void setExchangeAccessStateReason(@Nullable DeviceManagementExchangeAccessStateReason value)
      Sets the exchangeAccessStateReason property value. Device Exchange Access State Reason.
      Parameters:
      value - Value to set for the exchangeAccessStateReason property.
    • setExchangeLastSuccessfulSyncDateTime

      public void setExchangeLastSuccessfulSyncDateTime(@Nullable OffsetDateTime value)
      Sets the exchangeLastSuccessfulSyncDateTime property value. Last time the device contacted Exchange. This property is read-only.
      Parameters:
      value - Value to set for the exchangeLastSuccessfulSyncDateTime property.
    • setFreeStorageSpaceInBytes

      public void setFreeStorageSpaceInBytes(@Nullable Long value)
      Sets the freeStorageSpaceInBytes property value. Free Storage in Bytes. Default value is 0. Read-only. This property is read-only.
      Parameters:
      value - Value to set for the freeStorageSpaceInBytes property.
    • setIccid

      public void setIccid(@Nullable String value)
      Sets the iccid property value. Integrated Circuit Card Identifier, it is A SIM card's unique identification number. Default is an empty string. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. $Search is not supported. Read-only. This property is read-only.
      Parameters:
      value - Value to set for the iccid property.
    • setImei

      public void setImei(@Nullable String value)
      Sets the imei property value. IMEI. This property is read-only.
      Parameters:
      value - Value to set for the imei property.
    • setIsEncrypted

      public void setIsEncrypted(@Nullable Boolean value)
      Sets the isEncrypted property value. Device encryption status. This property is read-only.
      Parameters:
      value - Value to set for the isEncrypted property.
    • setIsSupervised

      public void setIsSupervised(@Nullable Boolean value)
      Sets the isSupervised property value. Device supervised status. This property is read-only.
      Parameters:
      value - Value to set for the isSupervised property.
    • setJailBroken

      public void setJailBroken(@Nullable String value)
      Sets the jailBroken property value. Whether the device is jail broken or rooted. Default is an empty string. Supports $filter operator 'eq' and 'or'. This property is read-only.
      Parameters:
      value - Value to set for the jailBroken property.
    • setLastSyncDateTime

      public void setLastSyncDateTime(@Nullable OffsetDateTime value)
      Sets the lastSyncDateTime property value. The date and time that the device last completed a successful sync with Intune. Supports $filter operator 'lt' and 'gt'. This property is read-only.
      Parameters:
      value - Value to set for the lastSyncDateTime property.
    • setLogCollectionRequests

      public void setLogCollectionRequests(@Nullable List<DeviceLogCollectionResponse> value)
      Sets the logCollectionRequests property value. List of log collection requests
      Parameters:
      value - Value to set for the logCollectionRequests property.
    • setManagedDeviceName

      public void setManagedDeviceName(@Nullable String value)
      Sets the managedDeviceName property value. Automatically generated name to identify a device. Can be overwritten to a user friendly name.
      Parameters:
      value - Value to set for the managedDeviceName property.
    • setManagedDeviceOwnerType

      public void setManagedDeviceOwnerType(@Nullable ManagedDeviceOwnerType value)
      Sets the managedDeviceOwnerType property value. Owner type of device.
      Parameters:
      value - Value to set for the managedDeviceOwnerType property.
    • setManagementAgent

      public void setManagementAgent(@Nullable ManagementAgentType value)
      Sets the managementAgent property value. The managementAgent property
      Parameters:
      value - Value to set for the managementAgent property.
    • setManagementCertificateExpirationDate

      public void setManagementCertificateExpirationDate(@Nullable OffsetDateTime value)
      Sets the managementCertificateExpirationDate property value. Reports device management certificate expiration date. This property is read-only.
      Parameters:
      value - Value to set for the managementCertificateExpirationDate property.
    • setManufacturer

      public void setManufacturer(@Nullable String value)
      Sets the manufacturer property value. Manufacturer of the device. This property is read-only.
      Parameters:
      value - Value to set for the manufacturer property.
    • setMeid

      public void setMeid(@Nullable String value)
      Sets the meid property value. MEID. This property is read-only.
      Parameters:
      value - Value to set for the meid property.
    • setModel

      public void setModel(@Nullable String value)
      Sets the model property value. Model of the device. This property is read-only.
      Parameters:
      value - Value to set for the model property.
    • setNotes

      public void setNotes(@Nullable String value)
      Sets the notes property value. Notes on the device created by IT Admin. Default is null. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. $Search is not supported.
      Parameters:
      value - Value to set for the notes property.
    • setOperatingSystem

      public void setOperatingSystem(@Nullable String value)
      Sets the operatingSystem property value. Operating system of the device. Windows, iOS, etc. This property is read-only.
      Parameters:
      value - Value to set for the operatingSystem property.
    • setOsVersion

      public void setOsVersion(@Nullable String value)
      Sets the osVersion property value. Operating system version of the device. This property is read-only.
      Parameters:
      value - Value to set for the osVersion property.
    • setPartnerReportedThreatState

      public void setPartnerReportedThreatState(@Nullable ManagedDevicePartnerReportedHealthState value)
      Sets the partnerReportedThreatState property value. Available health states for the Device Health API
      Parameters:
      value - Value to set for the partnerReportedThreatState property.
    • setPhoneNumber

      public void setPhoneNumber(@Nullable String value)
      Sets the phoneNumber property value. Phone number of the device. This property is read-only.
      Parameters:
      value - Value to set for the phoneNumber property.
    • setPhysicalMemoryInBytes

      public void setPhysicalMemoryInBytes(@Nullable Long value)
      Sets the physicalMemoryInBytes property value. Total Memory in Bytes. Default is 0. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. Read-only. This property is read-only.
      Parameters:
      value - Value to set for the physicalMemoryInBytes property.
    • setRemoteAssistanceSessionErrorDetails

      public void setRemoteAssistanceSessionErrorDetails(@Nullable String value)
      Sets the remoteAssistanceSessionErrorDetails property value. An error string that identifies issues when creating Remote Assistance session objects. This property is read-only.
      Parameters:
      value - Value to set for the remoteAssistanceSessionErrorDetails property.
    • setRemoteAssistanceSessionUrl

      public void setRemoteAssistanceSessionUrl(@Nullable String value)
      Sets the remoteAssistanceSessionUrl property value. Url that allows a Remote Assistance session to be established with the device. Default is an empty string. To retrieve actual values GET call needs to be made, with device id and included in select parameter. This property is read-only.
      Parameters:
      value - Value to set for the remoteAssistanceSessionUrl property.
    • setRequireUserEnrollmentApproval

      public void setRequireUserEnrollmentApproval(@Nullable Boolean value)
      Sets the requireUserEnrollmentApproval property value. Reports if the managed iOS device is user approval enrollment. This property is read-only.
      Parameters:
      value - Value to set for the requireUserEnrollmentApproval property.
    • setSerialNumber

      public void setSerialNumber(@Nullable String value)
      Sets the serialNumber property value. SerialNumber. This property is read-only.
      Parameters:
      value - Value to set for the serialNumber property.
    • setSubscriberCarrier

      public void setSubscriberCarrier(@Nullable String value)
      Sets the subscriberCarrier property value. Subscriber Carrier. This property is read-only.
      Parameters:
      value - Value to set for the subscriberCarrier property.
    • setTotalStorageSpaceInBytes

      public void setTotalStorageSpaceInBytes(@Nullable Long value)
      Sets the totalStorageSpaceInBytes property value. Total Storage in Bytes. This property is read-only.
      Parameters:
      value - Value to set for the totalStorageSpaceInBytes property.
    • setUdid

      public void setUdid(@Nullable String value)
      Sets the udid property value. Unique Device Identifier for iOS and macOS devices. Default is an empty string. To retrieve actual values GET call needs to be made, with device id and included in select parameter. Supports: $select. $Search is not supported. Read-only. This property is read-only.
      Parameters:
      value - Value to set for the udid property.
    • setUserDisplayName

      public void setUserDisplayName(@Nullable String value)
      Sets the userDisplayName property value. User display name. This property is read-only.
      Parameters:
      value - Value to set for the userDisplayName property.
    • setUserId

      public void setUserId(@Nullable String value)
      Sets the userId property value. Unique Identifier for the user associated with the device. This property is read-only.
      Parameters:
      value - Value to set for the userId property.
    • setUserPrincipalName

      public void setUserPrincipalName(@Nullable String value)
      Sets the userPrincipalName property value. Device user principal name. This property is read-only.
      Parameters:
      value - Value to set for the userPrincipalName property.
    • setUsers

      public void setUsers(@Nullable List<User> value)
      Sets the users property value. The primary users associated with the managed device.
      Parameters:
      value - Value to set for the users property.
    • setWiFiMacAddress

      public void setWiFiMacAddress(@Nullable String value)
      Sets the wiFiMacAddress property value. Wi-Fi MAC. This property is read-only.
      Parameters:
      value - Value to set for the wiFiMacAddress property.
    • setWindowsProtectionState

      public void setWindowsProtectionState(@Nullable WindowsProtectionState value)
      Sets the windowsProtectionState property value. The device protection status. This property is read-only.
      Parameters:
      value - Value to set for the windowsProtectionState property.