Class ManagedDevice

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class ManagedDevice
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Devices that are managed or pre-enrolled through Intune”
    • Constructor Detail

      • ManagedDevice

        protected ManagedDevice()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • builderManagedDevice

        public static ManagedDevice.Builder builderManagedDevice()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class Entity
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class Entity
      • getActivationLockBypassCode

        public Optional<String> getActivationLockBypassCode()
        “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.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property activationLockBypassCode
      • withActivationLockBypassCode

        public ManagedDevice withActivationLockBypassCode​(String activationLockBypassCode)
        Returns an immutable copy of this with just the activationLockBypassCode field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        activationLockBypassCode - new value of activationLockBypassCode field (as defined in service metadata)
        Returns:
        immutable copy of this with just the activationLockBypassCode field changed
      • getAndroidSecurityPatchLevel

        public Optional<String> getAndroidSecurityPatchLevel()
        “Android security patch level. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property androidSecurityPatchLevel
      • withAndroidSecurityPatchLevel

        public ManagedDevice withAndroidSecurityPatchLevel​(String androidSecurityPatchLevel)
        Returns an immutable copy of this with just the androidSecurityPatchLevel field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Android security patch level. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        androidSecurityPatchLevel - new value of androidSecurityPatchLevel field (as defined in service metadata)
        Returns:
        immutable copy of this with just the androidSecurityPatchLevel field changed
      • getAzureADDeviceId

        public Optional<String> getAzureADDeviceId()
        “The unique identifier for the Azure Active Directory device. Read only. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property azureADDeviceId
      • withAzureADDeviceId

        public ManagedDevice withAzureADDeviceId​(String azureADDeviceId)
        Returns an immutable copy of this with just the azureADDeviceId field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “The unique identifier for the Azure Active Directory device. Read only. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        azureADDeviceId - new value of azureADDeviceId field (as defined in service metadata)
        Returns:
        immutable copy of this with just the azureADDeviceId field changed
      • getAzureADRegistered

        public Optional<Boolean> getAzureADRegistered()
        “Whether the device is Azure Active Directory registered. This property is read- only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property azureADRegistered
      • withAzureADRegistered

        public ManagedDevice withAzureADRegistered​(Boolean azureADRegistered)
        Returns an immutable copy of this with just the azureADRegistered field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Whether the device is Azure Active Directory registered. This property is read- only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        azureADRegistered - new value of azureADRegistered field (as defined in service metadata)
        Returns:
        immutable copy of this with just the azureADRegistered field changed
      • getComplianceGracePeriodExpirationDateTime

        public Optional<OffsetDateTime> getComplianceGracePeriodExpirationDateTime()
        “The DateTime when device compliance grace period expires. This property is read- only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property complianceGracePeriodExpirationDateTime
      • withComplianceGracePeriodExpirationDateTime

        public ManagedDevice withComplianceGracePeriodExpirationDateTime​(OffsetDateTime complianceGracePeriodExpirationDateTime)
        Returns an immutable copy of this with just the complianceGracePeriodExpirationDateTime field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The DateTime when device compliance grace period expires. This property is read- only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        complianceGracePeriodExpirationDateTime - new value of complianceGracePeriodExpirationDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the complianceGracePeriodExpirationDateTime field changed
      • getComplianceState

        public Optional<ComplianceState> getComplianceState()
        “Compliance state of the device. Examples: Compliant, Conflict, Error, etc. Default is unknown. Supports $filter operator 'eq' and 'or'. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property complianceState
      • withComplianceState

        public ManagedDevice withComplianceState​(ComplianceState complianceState)
        Returns an immutable copy of this with just the complianceState field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Compliance state of the device. Examples: Compliant, Conflict, Error, etc. Default is unknown. Supports $filter operator 'eq' and 'or'. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        complianceState - new value of complianceState field (as defined in service metadata)
        Returns:
        immutable copy of this with just the complianceState field changed
      • getConfigurationManagerClientEnabledFeatures

        public Optional<ConfigurationManagerClientEnabledFeatures> getConfigurationManagerClientEnabledFeatures()
        “ConfigrMgr client enabled features. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property configurationManagerClientEnabledFeatures
      • withConfigurationManagerClientEnabledFeatures

        public ManagedDevice withConfigurationManagerClientEnabledFeatures​(ConfigurationManagerClientEnabledFeatures configurationManagerClientEnabledFeatures)
        Returns an immutable copy of this with just the configurationManagerClientEnabledFeatures field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “ConfigrMgr client enabled features. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        configurationManagerClientEnabledFeatures - new value of configurationManagerClientEnabledFeatures field (as defined in service metadata)
        Returns:
        immutable copy of this with just the configurationManagerClientEnabledFeatures field changed
      • getDeviceActionResults

        public com.github.davidmoten.odata.client.CollectionPage<DeviceActionResult> getDeviceActionResults()
        “List of ComplexType deviceActionResult objects. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property deviceActionResults
      • withDeviceActionResults

        public ManagedDevice withDeviceActionResults​(List<DeviceActionResult> deviceActionResults)
        Returns an immutable copy of this with just the deviceActionResults field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “List of ComplexType deviceActionResult objects. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        deviceActionResults - new value of deviceActionResults field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceActionResults field changed
      • getDeviceActionResults

        public com.github.davidmoten.odata.client.CollectionPage<DeviceActionResult> getDeviceActionResults​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of ComplexType deviceActionResult objects. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        options - specify connect and read timeouts
        Returns:
        property deviceActionResults
      • getDeviceCategoryDisplayName

        public Optional<String> getDeviceCategoryDisplayName()
        “Device category display name. Default is an empty string. Supports $filter operator 'eq' and 'or'. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property deviceCategoryDisplayName
      • withDeviceCategoryDisplayName

        public ManagedDevice withDeviceCategoryDisplayName​(String deviceCategoryDisplayName)
        Returns an immutable copy of this with just the deviceCategoryDisplayName field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Device category display name. Default is an empty string. Supports $filter operator 'eq' and 'or'. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        deviceCategoryDisplayName - new value of deviceCategoryDisplayName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceCategoryDisplayName field changed
      • getDeviceEnrollmentType

        public Optional<DeviceEnrollmentType> getDeviceEnrollmentType()
        “Enrollment type of the device. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property deviceEnrollmentType
      • withDeviceEnrollmentType

        public ManagedDevice withDeviceEnrollmentType​(DeviceEnrollmentType deviceEnrollmentType)
        Returns an immutable copy of this with just the deviceEnrollmentType field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Enrollment type of the device. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        deviceEnrollmentType - new value of deviceEnrollmentType field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceEnrollmentType field changed
      • getDeviceHealthAttestationState

        public Optional<DeviceHealthAttestationState> getDeviceHealthAttestationState()
        “The device health attestation state. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property deviceHealthAttestationState
      • withDeviceHealthAttestationState

        public ManagedDevice withDeviceHealthAttestationState​(DeviceHealthAttestationState deviceHealthAttestationState)
        Returns an immutable copy of this with just the deviceHealthAttestationState field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The device health attestation state. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        deviceHealthAttestationState - new value of deviceHealthAttestationState field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceHealthAttestationState field changed
      • getDeviceName

        public Optional<String> getDeviceName()
        “Name of the device. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property deviceName
      • withDeviceName

        public ManagedDevice withDeviceName​(String deviceName)
        Returns an immutable copy of this with just the deviceName field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Name of the device. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        deviceName - new value of deviceName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceName field changed
      • getDeviceRegistrationState

        public Optional<DeviceRegistrationState> getDeviceRegistrationState()
        “Device registration state. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property deviceRegistrationState
      • withDeviceRegistrationState

        public ManagedDevice withDeviceRegistrationState​(DeviceRegistrationState deviceRegistrationState)
        Returns an immutable copy of this with just the deviceRegistrationState field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Device registration state. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        deviceRegistrationState - new value of deviceRegistrationState field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceRegistrationState field changed
      • getEasActivated

        public Optional<Boolean> getEasActivated()
        “Whether the device is Exchange ActiveSync activated. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property easActivated
      • withEasActivated

        public ManagedDevice withEasActivated​(Boolean easActivated)
        Returns an immutable copy of this with just the easActivated field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Whether the device is Exchange ActiveSync activated. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        easActivated - new value of easActivated field (as defined in service metadata)
        Returns:
        immutable copy of this with just the easActivated field changed
      • getEasActivationDateTime

        public Optional<OffsetDateTime> getEasActivationDateTime()
        “Exchange ActivationSync activation time of the device. This property is read- only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property easActivationDateTime
      • withEasActivationDateTime

        public ManagedDevice withEasActivationDateTime​(OffsetDateTime easActivationDateTime)
        Returns an immutable copy of this with just the easActivationDateTime field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Exchange ActivationSync activation time of the device. This property is read- only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        easActivationDateTime - new value of easActivationDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the easActivationDateTime field changed
      • getEasDeviceId

        public Optional<String> getEasDeviceId()
        “Exchange ActiveSync Id of the device. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property easDeviceId
      • withEasDeviceId

        public ManagedDevice withEasDeviceId​(String easDeviceId)
        Returns an immutable copy of this with just the easDeviceId field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Exchange ActiveSync Id of the device. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        easDeviceId - new value of easDeviceId field (as defined in service metadata)
        Returns:
        immutable copy of this with just the easDeviceId field changed
      • getEmailAddress

        public Optional<String> getEmailAddress()
        “Email(s) for the user associated with the device. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property emailAddress
      • withEmailAddress

        public ManagedDevice withEmailAddress​(String emailAddress)
        Returns an immutable copy of this with just the emailAddress field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Email(s) for the user associated with the device. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        emailAddress - new value of emailAddress field (as defined in service metadata)
        Returns:
        immutable copy of this with just the emailAddress field changed
      • getEnrolledDateTime

        public Optional<OffsetDateTime> getEnrolledDateTime()
        “Enrollment time of the device. Supports $filter operator 'lt' and 'gt'. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property enrolledDateTime
      • withEnrolledDateTime

        public ManagedDevice withEnrolledDateTime​(OffsetDateTime enrolledDateTime)
        Returns an immutable copy of this with just the enrolledDateTime field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Enrollment time of the device. Supports $filter operator 'lt' and 'gt'. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        enrolledDateTime - new value of enrolledDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the enrolledDateTime field changed
      • getEthernetMacAddress

        public Optional<String> getEthernetMacAddress()
        “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.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property ethernetMacAddress
      • withEthernetMacAddress

        public ManagedDevice withEthernetMacAddress​(String ethernetMacAddress)
        Returns an immutable copy of this with just the ethernetMacAddress field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        ethernetMacAddress - new value of ethernetMacAddress field (as defined in service metadata)
        Returns:
        immutable copy of this with just the ethernetMacAddress field changed
      • getExchangeAccessState

        public Optional<DeviceManagementExchangeAccessState> getExchangeAccessState()
        “The Access State of the device in Exchange. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property exchangeAccessState
      • withExchangeAccessState

        public ManagedDevice withExchangeAccessState​(DeviceManagementExchangeAccessState exchangeAccessState)
        Returns an immutable copy of this with just the exchangeAccessState field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The Access State of the device in Exchange. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        exchangeAccessState - new value of exchangeAccessState field (as defined in service metadata)
        Returns:
        immutable copy of this with just the exchangeAccessState field changed
      • getExchangeAccessStateReason

        public Optional<DeviceManagementExchangeAccessStateReason> getExchangeAccessStateReason()
        “The reason for the device's access state in Exchange. This property is read-only .”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property exchangeAccessStateReason
      • withExchangeAccessStateReason

        public ManagedDevice withExchangeAccessStateReason​(DeviceManagementExchangeAccessStateReason exchangeAccessStateReason)
        Returns an immutable copy of this with just the exchangeAccessStateReason field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The reason for the device's access state in Exchange. This property is read-only .”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        exchangeAccessStateReason - new value of exchangeAccessStateReason field (as defined in service metadata)
        Returns:
        immutable copy of this with just the exchangeAccessStateReason field changed
      • getExchangeLastSuccessfulSyncDateTime

        public Optional<OffsetDateTime> getExchangeLastSuccessfulSyncDateTime()
        “Last time the device contacted Exchange. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property exchangeLastSuccessfulSyncDateTime
      • withExchangeLastSuccessfulSyncDateTime

        public ManagedDevice withExchangeLastSuccessfulSyncDateTime​(OffsetDateTime exchangeLastSuccessfulSyncDateTime)
        Returns an immutable copy of this with just the exchangeLastSuccessfulSyncDateTime field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Last time the device contacted Exchange. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        exchangeLastSuccessfulSyncDateTime - new value of exchangeLastSuccessfulSyncDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the exchangeLastSuccessfulSyncDateTime field changed
      • getFreeStorageSpaceInBytes

        public Optional<Long> getFreeStorageSpaceInBytes()
        “Free Storage in Bytes. Default value is 0. Read-only. This property is read-only .”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property freeStorageSpaceInBytes
      • withFreeStorageSpaceInBytes

        public ManagedDevice withFreeStorageSpaceInBytes​(Long freeStorageSpaceInBytes)
        Returns an immutable copy of this with just the freeStorageSpaceInBytes field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Free Storage in Bytes. Default value is 0. Read-only. This property is read-only .”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        freeStorageSpaceInBytes - new value of freeStorageSpaceInBytes field (as defined in service metadata)
        Returns:
        immutable copy of this with just the freeStorageSpaceInBytes field changed
      • getIccid

        public Optional<String> getIccid()
        “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.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property iccid
      • withIccid

        public ManagedDevice withIccid​(String iccid)
        Returns an immutable copy of this with just the iccid field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        iccid - new value of iccid field (as defined in service metadata)
        Returns:
        immutable copy of this with just the iccid field changed
      • getImei

        public Optional<String> getImei()
        “IMEI. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property imei
      • withImei

        public ManagedDevice withImei​(String imei)
        Returns an immutable copy of this with just the imei field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “IMEI. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        imei - new value of imei field (as defined in service metadata)
        Returns:
        immutable copy of this with just the imei field changed
      • getIsEncrypted

        public Optional<Boolean> getIsEncrypted()
        “Device encryption status. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property isEncrypted
      • withIsEncrypted

        public ManagedDevice withIsEncrypted​(Boolean isEncrypted)
        Returns an immutable copy of this with just the isEncrypted field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Device encryption status. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        isEncrypted - new value of isEncrypted field (as defined in service metadata)
        Returns:
        immutable copy of this with just the isEncrypted field changed
      • getIsSupervised

        public Optional<Boolean> getIsSupervised()
        “Device supervised status. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property isSupervised
      • withIsSupervised

        public ManagedDevice withIsSupervised​(Boolean isSupervised)
        Returns an immutable copy of this with just the isSupervised field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Device supervised status. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        isSupervised - new value of isSupervised field (as defined in service metadata)
        Returns:
        immutable copy of this with just the isSupervised field changed
      • getJailBroken

        public Optional<String> getJailBroken()
        “Whether the device is jail broken or rooted. Default is an empty string. Supports $filter operator 'eq' and 'or'. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property jailBroken
      • withJailBroken

        public ManagedDevice withJailBroken​(String jailBroken)
        Returns an immutable copy of this with just the jailBroken field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Whether the device is jail broken or rooted. Default is an empty string. Supports $filter operator 'eq' and 'or'. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        jailBroken - new value of jailBroken field (as defined in service metadata)
        Returns:
        immutable copy of this with just the jailBroken field changed
      • getLastSyncDateTime

        public Optional<OffsetDateTime> getLastSyncDateTime()
        “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.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property lastSyncDateTime
      • withLastSyncDateTime

        public ManagedDevice withLastSyncDateTime​(OffsetDateTime lastSyncDateTime)
        Returns an immutable copy of this with just the lastSyncDateTime field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “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.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        lastSyncDateTime - new value of lastSyncDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the lastSyncDateTime field changed
      • getManagedDeviceName

        public Optional<String> getManagedDeviceName()
        “Automatically generated name to identify a device. Can be overwritten to a user friendly name.”
        Returns:
        property managedDeviceName
      • withManagedDeviceName

        public ManagedDevice withManagedDeviceName​(String managedDeviceName)
        Returns an immutable copy of this with just the managedDeviceName field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Automatically generated name to identify a device. Can be overwritten to a user friendly name.”

        Parameters:
        managedDeviceName - new value of managedDeviceName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the managedDeviceName field changed
      • getManagedDeviceOwnerType

        public Optional<ManagedDeviceOwnerType> getManagedDeviceOwnerType()
        “Ownership of the device. Can be 'company' or 'personal'”
        Returns:
        property managedDeviceOwnerType
      • withManagedDeviceOwnerType

        public ManagedDevice withManagedDeviceOwnerType​(ManagedDeviceOwnerType managedDeviceOwnerType)
        Returns an immutable copy of this with just the managedDeviceOwnerType field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Ownership of the device. Can be 'company' or 'personal'”

        Parameters:
        managedDeviceOwnerType - new value of managedDeviceOwnerType field (as defined in service metadata)
        Returns:
        immutable copy of this with just the managedDeviceOwnerType field changed
      • getManagementAgent

        public Optional<ManagementAgentType> getManagementAgent()
        “Management channel of the device. Examples: Intune, EAS, etc. Default is unknown . Supports $filter operator 'eq' and 'or'. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property managementAgent
      • withManagementAgent

        public ManagedDevice withManagementAgent​(ManagementAgentType managementAgent)
        Returns an immutable copy of this with just the managementAgent field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Management channel of the device. Examples: Intune, EAS, etc. Default is unknown . Supports $filter operator 'eq' and 'or'. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        managementAgent - new value of managementAgent field (as defined in service metadata)
        Returns:
        immutable copy of this with just the managementAgent field changed
      • getManagementCertificateExpirationDate

        public Optional<OffsetDateTime> getManagementCertificateExpirationDate()
        “Reports device management certificate expiration date. This property is read- only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property managementCertificateExpirationDate
      • withManagementCertificateExpirationDate

        public ManagedDevice withManagementCertificateExpirationDate​(OffsetDateTime managementCertificateExpirationDate)
        Returns an immutable copy of this with just the managementCertificateExpirationDate field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Reports device management certificate expiration date. This property is read- only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        managementCertificateExpirationDate - new value of managementCertificateExpirationDate field (as defined in service metadata)
        Returns:
        immutable copy of this with just the managementCertificateExpirationDate field changed
      • getManufacturer

        public Optional<String> getManufacturer()
        “Manufacturer of the device. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property manufacturer
      • withManufacturer

        public ManagedDevice withManufacturer​(String manufacturer)
        Returns an immutable copy of this with just the manufacturer field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Manufacturer of the device. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        manufacturer - new value of manufacturer field (as defined in service metadata)
        Returns:
        immutable copy of this with just the manufacturer field changed
      • getMeid

        public Optional<String> getMeid()
        “MEID. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property meid
      • withMeid

        public ManagedDevice withMeid​(String meid)
        Returns an immutable copy of this with just the meid field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “MEID. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        meid - new value of meid field (as defined in service metadata)
        Returns:
        immutable copy of this with just the meid field changed
      • getModel

        public Optional<String> getModel()
        “Model of the device. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property model
      • withModel

        public ManagedDevice withModel​(String model)
        Returns an immutable copy of this with just the model field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Model of the device. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        model - new value of model field (as defined in service metadata)
        Returns:
        immutable copy of this with just the model field changed
      • getNotes

        public Optional<String> getNotes()
        “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:
        property notes
      • withNotes

        public ManagedDevice withNotes​(String notes)
        Returns an immutable copy of this with just the notes field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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:
        notes - new value of notes field (as defined in service metadata)
        Returns:
        immutable copy of this with just the notes field changed
      • getOperatingSystem

        public Optional<String> getOperatingSystem()
        “Operating system of the device. Windows, iOS, etc. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property operatingSystem
      • withOperatingSystem

        public ManagedDevice withOperatingSystem​(String operatingSystem)
        Returns an immutable copy of this with just the operatingSystem field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Operating system of the device. Windows, iOS, etc. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        operatingSystem - new value of operatingSystem field (as defined in service metadata)
        Returns:
        immutable copy of this with just the operatingSystem field changed
      • getOsVersion

        public Optional<String> getOsVersion()
        “Operating system version of the device. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property osVersion
      • withOsVersion

        public ManagedDevice withOsVersion​(String osVersion)
        Returns an immutable copy of this with just the osVersion field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Operating system version of the device. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        osVersion - new value of osVersion field (as defined in service metadata)
        Returns:
        immutable copy of this with just the osVersion field changed
      • getPartnerReportedThreatState

        public Optional<ManagedDevicePartnerReportedHealthState> getPartnerReportedThreatState()
        “Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device. Read Only. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property partnerReportedThreatState
      • withPartnerReportedThreatState

        public ManagedDevice withPartnerReportedThreatState​(ManagedDevicePartnerReportedHealthState partnerReportedThreatState)
        Returns an immutable copy of this with just the partnerReportedThreatState field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device. Read Only. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        partnerReportedThreatState - new value of partnerReportedThreatState field (as defined in service metadata)
        Returns:
        immutable copy of this with just the partnerReportedThreatState field changed
      • getPhoneNumber

        public Optional<String> getPhoneNumber()
        “Phone number of the device. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property phoneNumber
      • withPhoneNumber

        public ManagedDevice withPhoneNumber​(String phoneNumber)
        Returns an immutable copy of this with just the phoneNumber field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Phone number of the device. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        phoneNumber - new value of phoneNumber field (as defined in service metadata)
        Returns:
        immutable copy of this with just the phoneNumber field changed
      • getPhysicalMemoryInBytes

        public Optional<Long> getPhysicalMemoryInBytes()
        “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.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property physicalMemoryInBytes
      • withPhysicalMemoryInBytes

        public ManagedDevice withPhysicalMemoryInBytes​(Long physicalMemoryInBytes)
        Returns an immutable copy of this with just the physicalMemoryInBytes field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        physicalMemoryInBytes - new value of physicalMemoryInBytes field (as defined in service metadata)
        Returns:
        immutable copy of this with just the physicalMemoryInBytes field changed
      • getRemoteAssistanceSessionErrorDetails

        public Optional<String> getRemoteAssistanceSessionErrorDetails()
        “An error string that identifies issues when creating Remote Assistance session objects. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property remoteAssistanceSessionErrorDetails
      • withRemoteAssistanceSessionErrorDetails

        public ManagedDevice withRemoteAssistanceSessionErrorDetails​(String remoteAssistanceSessionErrorDetails)
        Returns an immutable copy of this with just the remoteAssistanceSessionErrorDetails field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “An error string that identifies issues when creating Remote Assistance session objects. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        remoteAssistanceSessionErrorDetails - new value of remoteAssistanceSessionErrorDetails field (as defined in service metadata)
        Returns:
        immutable copy of this with just the remoteAssistanceSessionErrorDetails field changed
      • getRemoteAssistanceSessionUrl

        public Optional<String> getRemoteAssistanceSessionUrl()
        “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.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property remoteAssistanceSessionUrl
      • withRemoteAssistanceSessionUrl

        public ManagedDevice withRemoteAssistanceSessionUrl​(String remoteAssistanceSessionUrl)
        Returns an immutable copy of this with just the remoteAssistanceSessionUrl field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        remoteAssistanceSessionUrl - new value of remoteAssistanceSessionUrl field (as defined in service metadata)
        Returns:
        immutable copy of this with just the remoteAssistanceSessionUrl field changed
      • getRequireUserEnrollmentApproval

        public Optional<Boolean> getRequireUserEnrollmentApproval()
        “Reports if the managed iOS device is user approval enrollment. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property requireUserEnrollmentApproval
      • withRequireUserEnrollmentApproval

        public ManagedDevice withRequireUserEnrollmentApproval​(Boolean requireUserEnrollmentApproval)
        Returns an immutable copy of this with just the requireUserEnrollmentApproval field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Reports if the managed iOS device is user approval enrollment. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        requireUserEnrollmentApproval - new value of requireUserEnrollmentApproval field (as defined in service metadata)
        Returns:
        immutable copy of this with just the requireUserEnrollmentApproval field changed
      • getSerialNumber

        public Optional<String> getSerialNumber()
        “SerialNumber. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property serialNumber
      • withSerialNumber

        public ManagedDevice withSerialNumber​(String serialNumber)
        Returns an immutable copy of this with just the serialNumber field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “SerialNumber. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        serialNumber - new value of serialNumber field (as defined in service metadata)
        Returns:
        immutable copy of this with just the serialNumber field changed
      • getSubscriberCarrier

        public Optional<String> getSubscriberCarrier()
        “Subscriber Carrier. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property subscriberCarrier
      • withSubscriberCarrier

        public ManagedDevice withSubscriberCarrier​(String subscriberCarrier)
        Returns an immutable copy of this with just the subscriberCarrier field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Subscriber Carrier. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        subscriberCarrier - new value of subscriberCarrier field (as defined in service metadata)
        Returns:
        immutable copy of this with just the subscriberCarrier field changed
      • getTotalStorageSpaceInBytes

        public Optional<Long> getTotalStorageSpaceInBytes()
        “Total Storage in Bytes. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property totalStorageSpaceInBytes
      • withTotalStorageSpaceInBytes

        public ManagedDevice withTotalStorageSpaceInBytes​(Long totalStorageSpaceInBytes)
        Returns an immutable copy of this with just the totalStorageSpaceInBytes field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Total Storage in Bytes. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        totalStorageSpaceInBytes - new value of totalStorageSpaceInBytes field (as defined in service metadata)
        Returns:
        immutable copy of this with just the totalStorageSpaceInBytes field changed
      • getUdid

        public Optional<String> getUdid()
        “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.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property udid
      • withUdid

        public ManagedDevice withUdid​(String udid)
        Returns an immutable copy of this with just the udid field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        udid - new value of udid field (as defined in service metadata)
        Returns:
        immutable copy of this with just the udid field changed
      • getUserDisplayName

        public Optional<String> getUserDisplayName()
        “User display name. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property userDisplayName
      • withUserDisplayName

        public ManagedDevice withUserDisplayName​(String userDisplayName)
        Returns an immutable copy of this with just the userDisplayName field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “User display name. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        userDisplayName - new value of userDisplayName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the userDisplayName field changed
      • getUserId

        public Optional<String> getUserId()
        “Unique Identifier for the user associated with the device. This property is read -only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property userId
      • withUserId

        public ManagedDevice withUserId​(String userId)
        Returns an immutable copy of this with just the userId field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Unique Identifier for the user associated with the device. This property is read -only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        userId - new value of userId field (as defined in service metadata)
        Returns:
        immutable copy of this with just the userId field changed
      • getUserPrincipalName

        public Optional<String> getUserPrincipalName()
        “Device user principal name. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property userPrincipalName
      • withUserPrincipalName

        public ManagedDevice withUserPrincipalName​(String userPrincipalName)
        Returns an immutable copy of this with just the userPrincipalName field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Device user principal name. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        userPrincipalName - new value of userPrincipalName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the userPrincipalName field changed
      • getWiFiMacAddress

        public Optional<String> getWiFiMacAddress()
        “Wi-Fi MAC. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        property wiFiMacAddress
      • withWiFiMacAddress

        public ManagedDevice withWiFiMacAddress​(String wiFiMacAddress)
        Returns an immutable copy of this with just the wiFiMacAddress field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Wi-Fi MAC. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        wiFiMacAddress - new value of wiFiMacAddress field (as defined in service metadata)
        Returns:
        immutable copy of this with just the wiFiMacAddress field changed
      • getDeviceCompliancePolicyStates

        public DeviceCompliancePolicyStateCollectionRequest getDeviceCompliancePolicyStates()
        “Device compliance policy states for this device.”
        Returns:
        navigational property deviceCompliancePolicyStates
      • getDeviceConfigurationStates

        public DeviceConfigurationStateCollectionRequest getDeviceConfigurationStates()
        “Device configuration states for this device.”
        Returns:
        navigational property deviceConfigurationStates
      • getDeviceCategory

        public DeviceCategoryRequest getDeviceCategory()
        “Device category”
        Returns:
        navigational property deviceCategory
      • getUsers

        public UserCollectionRequest getUsers()
        “The primary users associated with the managed device.”
        Returns:
        navigational property users
      • getWindowsProtectionState

        public WindowsProtectionStateRequest getWindowsProtectionState()
        “The device protection status. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Returns:
        navigational property windowsProtectionState
      • withDeviceCompliancePolicyStates

        public ManagedDevice withDeviceCompliancePolicyStates​(List<DeviceCompliancePolicyState> deviceCompliancePolicyStates)
        Returns an immutable copy of this with just the deviceCompliancePolicyStates field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Device compliance policy states for this device.”

        Parameters:
        deviceCompliancePolicyStates - new value of deviceCompliancePolicyStates field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceCompliancePolicyStates field changed
      • withDeviceConfigurationStates

        public ManagedDevice withDeviceConfigurationStates​(List<DeviceConfigurationState> deviceConfigurationStates)
        Returns an immutable copy of this with just the deviceConfigurationStates field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Device configuration states for this device.”

        Parameters:
        deviceConfigurationStates - new value of deviceConfigurationStates field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceConfigurationStates field changed
      • withDeviceCategory

        public ManagedDevice withDeviceCategory​(DeviceCategory deviceCategory)
        Returns an immutable copy of this with just the deviceCategory field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Device category”

        Parameters:
        deviceCategory - new value of deviceCategory field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceCategory field changed
      • withLogCollectionRequests

        public ManagedDevice withLogCollectionRequests​(List<DeviceLogCollectionResponse> logCollectionRequests)
        Returns an immutable copy of this with just the logCollectionRequests field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “List of log collection requests”

        Parameters:
        logCollectionRequests - new value of logCollectionRequests field (as defined in service metadata)
        Returns:
        immutable copy of this with just the logCollectionRequests field changed
      • withWindowsProtectionState

        public ManagedDevice withWindowsProtectionState​(WindowsProtectionState windowsProtectionState)
        Returns an immutable copy of this with just the windowsProtectionState field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The device protection status. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        windowsProtectionState - new value of windowsProtectionState field (as defined in service metadata)
        Returns:
        immutable copy of this with just the windowsProtectionState field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Entity
      • patch

        public ManagedDevice patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public ManagedDevice put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • bypassActivationLock

        public com.github.davidmoten.odata.client.ActionRequestNoReturn bypassActivationLock()
      • cleanWindowsDevice

        public com.github.davidmoten.odata.client.ActionRequestNoReturn cleanWindowsDevice​(Boolean keepUserData)
      • deleteUserFromSharedAppleDevice

        public com.github.davidmoten.odata.client.ActionRequestNoReturn deleteUserFromSharedAppleDevice​(String userPrincipalName)
      • disableLostMode

        public com.github.davidmoten.odata.client.ActionRequestNoReturn disableLostMode()
      • locateDevice

        public com.github.davidmoten.odata.client.ActionRequestNoReturn locateDevice()
      • logoutSharedAppleDeviceActiveUser

        public com.github.davidmoten.odata.client.ActionRequestNoReturn logoutSharedAppleDeviceActiveUser()
      • rebootNow

        public com.github.davidmoten.odata.client.ActionRequestNoReturn rebootNow()
      • recoverPasscode

        public com.github.davidmoten.odata.client.ActionRequestNoReturn recoverPasscode()
      • remoteLock

        public com.github.davidmoten.odata.client.ActionRequestNoReturn remoteLock()
      • requestRemoteAssistance

        public com.github.davidmoten.odata.client.ActionRequestNoReturn requestRemoteAssistance()
      • resetPasscode

        public com.github.davidmoten.odata.client.ActionRequestNoReturn resetPasscode()
      • retire

        public com.github.davidmoten.odata.client.ActionRequestNoReturn retire()
      • shutDown

        public com.github.davidmoten.odata.client.ActionRequestNoReturn shutDown()
      • syncDevice

        public com.github.davidmoten.odata.client.ActionRequestNoReturn syncDevice()
      • updateWindowsDeviceAccount

        public com.github.davidmoten.odata.client.ActionRequestNoReturn updateWindowsDeviceAccount​(UpdateWindowsDeviceAccountActionParameter updateWindowsDeviceAccountActionParameter)
      • windowsDefenderScan

        public com.github.davidmoten.odata.client.ActionRequestNoReturn windowsDefenderScan​(Boolean quickScan)
      • windowsDefenderUpdateSignatures

        public com.github.davidmoten.odata.client.ActionRequestNoReturn windowsDefenderUpdateSignatures()
      • wipe

        public com.github.davidmoten.odata.client.ActionRequestNoReturn wipe​(Boolean keepEnrollmentData,
                                                                             Boolean keepUserData,
                                                                             String macOsUnlockCode,
                                                                             Boolean persistEsimDataPlan)