Class DepEnrollmentProfile

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

    public class DepEnrollmentProfile
    extends EnrollmentProfile
    implements com.github.davidmoten.odata.client.ODataEntityType
    “The depEnrollmentProfile resource represents an Apple Device Enrollment Program (DEP) enrollment profile. This type of profile must be assigned to Apple DEP serial numbers before the corresponding devices can enroll via DEP.”
    • Field Detail

      • appleIdDisabled

        protected Boolean appleIdDisabled
      • applePayDisabled

        protected Boolean applePayDisabled
      • awaitDeviceConfiguredConfirmation

        protected Boolean awaitDeviceConfiguredConfirmation
      • diagnosticsDisabled

        protected Boolean diagnosticsDisabled
      • enableSharedIPad

        protected Boolean enableSharedIPad
      • isDefault

        protected Boolean isDefault
      • isMandatory

        protected Boolean isMandatory
      • locationDisabled

        protected Boolean locationDisabled
      • macOSFileVaultDisabled

        protected Boolean macOSFileVaultDisabled
      • macOSRegistrationDisabled

        protected Boolean macOSRegistrationDisabled
      • managementCertificatesNextLink

        protected String managementCertificatesNextLink
      • passCodeDisabled

        protected Boolean passCodeDisabled
      • profileRemovalDisabled

        protected Boolean profileRemovalDisabled
      • restoreBlocked

        protected Boolean restoreBlocked
      • restoreFromAndroidDisabled

        protected Boolean restoreFromAndroidDisabled
      • sharedIPadMaximumUserCount

        protected Integer sharedIPadMaximumUserCount
      • siriDisabled

        protected Boolean siriDisabled
      • supervisedModeEnabled

        protected Boolean supervisedModeEnabled
      • supportDepartment

        protected String supportDepartment
      • supportPhoneNumber

        protected String supportPhoneNumber
      • termsAndConditionsDisabled

        protected Boolean termsAndConditionsDisabled
      • touchIdDisabled

        protected Boolean touchIdDisabled
      • zoomDisabled

        protected Boolean zoomDisabled
    • Constructor Detail

      • DepEnrollmentProfile

        protected DepEnrollmentProfile()
    • Method Detail

      • odataTypeName

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

        public static DepEnrollmentProfile.Builder builderDepEnrollmentProfile()
        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 EnrollmentProfile
      • postInject

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

        public Optional<Boolean> getAppleIdDisabled()
        “Indicates if Apple id setup pane is disabled”
        Returns:
        property appleIdDisabled
      • withAppleIdDisabled

        public DepEnrollmentProfile withAppleIdDisabled​(Boolean appleIdDisabled)
        Returns an immutable copy of this with just the appleIdDisabled 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 if Apple id setup pane is disabled”

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

        public Optional<Boolean> getApplePayDisabled()
        “Indicates if Apple pay setup pane is disabled”
        Returns:
        property applePayDisabled
      • withApplePayDisabled

        public DepEnrollmentProfile withApplePayDisabled​(Boolean applePayDisabled)
        Returns an immutable copy of this with just the applePayDisabled 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 if Apple pay setup pane is disabled”

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

        public Optional<Boolean> getAwaitDeviceConfiguredConfirmation()
        “Indicates if the device will need to wait for configured confirmation”
        Returns:
        property awaitDeviceConfiguredConfirmation
      • withAwaitDeviceConfiguredConfirmation

        public DepEnrollmentProfile withAwaitDeviceConfiguredConfirmation​(Boolean awaitDeviceConfiguredConfirmation)
        Returns an immutable copy of this with just the awaitDeviceConfiguredConfirmation 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 if the device will need to wait for configured confirmation”

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

        public Optional<Boolean> getDiagnosticsDisabled()
        “Indicates if diagnostics setup pane is disabled”
        Returns:
        property diagnosticsDisabled
      • withDiagnosticsDisabled

        public DepEnrollmentProfile withDiagnosticsDisabled​(Boolean diagnosticsDisabled)
        Returns an immutable copy of this with just the diagnosticsDisabled 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 if diagnostics setup pane is disabled”

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

        public Optional<Boolean> getEnableSharedIPad()
        “This indicates whether the device is to be enrolled in a mode which enables multi user scenarios. Only applicable in shared iPads.”
        Returns:
        property enableSharedIPad
      • withEnableSharedIPad

        public DepEnrollmentProfile withEnableSharedIPad​(Boolean enableSharedIPad)
        Returns an immutable copy of this with just the enableSharedIPad 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.

        “This indicates whether the device is to be enrolled in a mode which enables multi user scenarios. Only applicable in shared iPads.”

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

        public Optional<Boolean> getIsDefault()
        “Indicates if this is the default profile”
        Returns:
        property isDefault
      • withIsDefault

        public DepEnrollmentProfile withIsDefault​(Boolean isDefault)
        Returns an immutable copy of this with just the isDefault 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 if this is the default profile”

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

        public Optional<Boolean> getIsMandatory()
        “Indicates if the profile is mandatory”
        Returns:
        property isMandatory
      • withIsMandatory

        public DepEnrollmentProfile withIsMandatory​(Boolean isMandatory)
        Returns an immutable copy of this with just the isMandatory 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 if the profile is mandatory”

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

        public Optional<ITunesPairingMode> getITunesPairingMode()
        “Indicates the iTunes pairing mode”
        Returns:
        property iTunesPairingMode
      • withITunesPairingMode

        public DepEnrollmentProfile withITunesPairingMode​(ITunesPairingMode iTunesPairingMode)
        Returns an immutable copy of this with just the iTunesPairingMode 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 iTunes pairing mode”

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

        public Optional<Boolean> getLocationDisabled()
        “Indicates if Location service setup pane is disabled”
        Returns:
        property locationDisabled
      • withLocationDisabled

        public DepEnrollmentProfile withLocationDisabled​(Boolean locationDisabled)
        Returns an immutable copy of this with just the locationDisabled 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 if Location service setup pane is disabled”

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

        public Optional<Boolean> getMacOSFileVaultDisabled()
        “Indicates if Mac OS file vault is disabled”
        Returns:
        property macOSFileVaultDisabled
      • withMacOSFileVaultDisabled

        public DepEnrollmentProfile withMacOSFileVaultDisabled​(Boolean macOSFileVaultDisabled)
        Returns an immutable copy of this with just the macOSFileVaultDisabled 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 if Mac OS file vault is disabled”

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

        public Optional<Boolean> getMacOSRegistrationDisabled()
        “Indicates if Mac OS registration is disabled”
        Returns:
        property macOSRegistrationDisabled
      • withMacOSRegistrationDisabled

        public DepEnrollmentProfile withMacOSRegistrationDisabled​(Boolean macOSRegistrationDisabled)
        Returns an immutable copy of this with just the macOSRegistrationDisabled 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 if Mac OS registration is disabled”

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

        public com.github.davidmoten.odata.client.CollectionPage<ManagementCertificateWithThumbprint> getManagementCertificates()
        “Management certificates for Apple Configurator”
        Returns:
        property managementCertificates
      • withManagementCertificates

        public DepEnrollmentProfile withManagementCertificates​(List<ManagementCertificateWithThumbprint> managementCertificates)
        Returns an immutable copy of this with just the managementCertificates 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 certificates for Apple Configurator”

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

        public com.github.davidmoten.odata.client.CollectionPage<ManagementCertificateWithThumbprint> getManagementCertificates​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Management certificates for Apple Configurator”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property managementCertificates
      • getPassCodeDisabled

        public Optional<Boolean> getPassCodeDisabled()
        “Indicates if Passcode setup pane is disabled”
        Returns:
        property passCodeDisabled
      • withPassCodeDisabled

        public DepEnrollmentProfile withPassCodeDisabled​(Boolean passCodeDisabled)
        Returns an immutable copy of this with just the passCodeDisabled 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 if Passcode setup pane is disabled”

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

        public Optional<Boolean> getProfileRemovalDisabled()
        “Indicates if the profile removal option is disabled”
        Returns:
        property profileRemovalDisabled
      • withProfileRemovalDisabled

        public DepEnrollmentProfile withProfileRemovalDisabled​(Boolean profileRemovalDisabled)
        Returns an immutable copy of this with just the profileRemovalDisabled 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 if the profile removal option is disabled”

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

        public Optional<Boolean> getRestoreBlocked()
        “Indicates if Restore setup pane is blocked”
        Returns:
        property restoreBlocked
      • withRestoreBlocked

        public DepEnrollmentProfile withRestoreBlocked​(Boolean restoreBlocked)
        Returns an immutable copy of this with just the restoreBlocked 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 if Restore setup pane is blocked”

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

        public Optional<Boolean> getRestoreFromAndroidDisabled()
        “Indicates if Restore from Android is disabled”
        Returns:
        property restoreFromAndroidDisabled
      • withRestoreFromAndroidDisabled

        public DepEnrollmentProfile withRestoreFromAndroidDisabled​(Boolean restoreFromAndroidDisabled)
        Returns an immutable copy of this with just the restoreFromAndroidDisabled 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 if Restore from Android is disabled”

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

        public Optional<Integer> getSharedIPadMaximumUserCount()
        “This specifies the maximum number of users that can use a shared iPad. Only applicable in shared iPad mode.”
        Returns:
        property sharedIPadMaximumUserCount
      • withSharedIPadMaximumUserCount

        public DepEnrollmentProfile withSharedIPadMaximumUserCount​(Integer sharedIPadMaximumUserCount)
        Returns an immutable copy of this with just the sharedIPadMaximumUserCount 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.

        “This specifies the maximum number of users that can use a shared iPad. Only applicable in shared iPad mode.”

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

        public Optional<Boolean> getSiriDisabled()
        “Indicates if siri setup pane is disabled”
        Returns:
        property siriDisabled
      • withSiriDisabled

        public DepEnrollmentProfile withSiriDisabled​(Boolean siriDisabled)
        Returns an immutable copy of this with just the siriDisabled 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 if siri setup pane is disabled”

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

        public Optional<Boolean> getSupervisedModeEnabled()
        “Supervised mode, True to enable, false otherwise. See https://docs.microsoft.com /en-us/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information.”
        Returns:
        property supervisedModeEnabled
      • withSupervisedModeEnabled

        public DepEnrollmentProfile withSupervisedModeEnabled​(Boolean supervisedModeEnabled)
        Returns an immutable copy of this with just the supervisedModeEnabled 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.

        “Supervised mode, True to enable, false otherwise. See https://docs.microsoft.com /en-us/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information.”

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

        public Optional<String> getSupportDepartment()
        “Support department information”
        Returns:
        property supportDepartment
      • withSupportDepartment

        public DepEnrollmentProfile withSupportDepartment​(String supportDepartment)
        Returns an immutable copy of this with just the supportDepartment 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.

        “Support department information”

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

        public Optional<String> getSupportPhoneNumber()
        “Support phone number”
        Returns:
        property supportPhoneNumber
      • withSupportPhoneNumber

        public DepEnrollmentProfile withSupportPhoneNumber​(String supportPhoneNumber)
        Returns an immutable copy of this with just the supportPhoneNumber 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.

        “Support phone number”

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

        public Optional<Boolean> getTermsAndConditionsDisabled()
        “Indicates if 'Terms and Conditions' setup pane is disabled”
        Returns:
        property termsAndConditionsDisabled
      • withTermsAndConditionsDisabled

        public DepEnrollmentProfile withTermsAndConditionsDisabled​(Boolean termsAndConditionsDisabled)
        Returns an immutable copy of this with just the termsAndConditionsDisabled 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 if 'Terms and Conditions' setup pane is disabled”

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

        public Optional<Boolean> getTouchIdDisabled()
        “Indicates if touch id setup pane is disabled”
        Returns:
        property touchIdDisabled
      • withTouchIdDisabled

        public DepEnrollmentProfile withTouchIdDisabled​(Boolean touchIdDisabled)
        Returns an immutable copy of this with just the touchIdDisabled 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 if touch id setup pane is disabled”

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

        public Optional<Boolean> getZoomDisabled()
        “Indicates if zoom setup pane is disabled”
        Returns:
        property zoomDisabled
      • withZoomDisabled

        public DepEnrollmentProfile withZoomDisabled​(Boolean zoomDisabled)
        Returns an immutable copy of this with just the zoomDisabled 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 if zoom setup pane is disabled”

        Parameters:
        zoomDisabled - new value of zoomDisabled field (as defined in service metadata)
        Returns:
        immutable copy of this with just the zoomDisabled 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 EnrollmentProfile
      • patch

        public DepEnrollmentProfile patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class EnrollmentProfile
        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 DepEnrollmentProfile 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 EnrollmentProfile
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected