Class DepEnrollmentBaseProfile

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType
    Direct Known Subclasses:
    DepIOSEnrollmentProfile, DepMacOSEnrollmentProfile

    public class DepEnrollmentBaseProfile
    extends EnrollmentProfile
    implements com.github.davidmoten.odata.client.ODataEntityType
    “The DepEnrollmentBaseProfile 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
      • configurationWebUrl

        protected Boolean configurationWebUrl
      • deviceNameTemplate

        protected String deviceNameTemplate
      • diagnosticsDisabled

        protected Boolean diagnosticsDisabled
      • displayToneSetupDisabled

        protected Boolean displayToneSetupDisabled
      • isDefault

        protected Boolean isDefault
      • isMandatory

        protected Boolean isMandatory
      • locationDisabled

        protected Boolean locationDisabled
      • privacyPaneDisabled

        protected Boolean privacyPaneDisabled
      • profileRemovalDisabled

        protected Boolean profileRemovalDisabled
      • restoreBlocked

        protected Boolean restoreBlocked
      • screenTimeScreenDisabled

        protected Boolean screenTimeScreenDisabled
      • siriDisabled

        protected Boolean siriDisabled
      • supervisedModeEnabled

        protected Boolean supervisedModeEnabled
      • supportDepartment

        protected String supportDepartment
      • supportPhoneNumber

        protected String supportPhoneNumber
      • termsAndConditionsDisabled

        protected Boolean termsAndConditionsDisabled
      • touchIdDisabled

        protected Boolean touchIdDisabled
    • Constructor Detail

      • DepEnrollmentBaseProfile

        protected DepEnrollmentBaseProfile()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class EnrollmentProfile
      • 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 DepEnrollmentBaseProfile 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 DepEnrollmentBaseProfile 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
      • getConfigurationWebUrl

        public Optional<Boolean> getConfigurationWebUrl()
        “URL for setup assistant login”
        Returns:
        property configurationWebUrl
      • withConfigurationWebUrl

        public DepEnrollmentBaseProfile withConfigurationWebUrl​(Boolean configurationWebUrl)
        Returns an immutable copy of this with just the configurationWebUrl 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 for setup assistant login”

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

        public Optional<String> getDeviceNameTemplate()
        “Sets a literal or name pattern.”
        Returns:
        property deviceNameTemplate
      • withDeviceNameTemplate

        public DepEnrollmentBaseProfile withDeviceNameTemplate​(String deviceNameTemplate)
        Returns an immutable copy of this with just the deviceNameTemplate 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.

        “Sets a literal or name pattern.”

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

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

        public DepEnrollmentBaseProfile 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
      • getDisplayToneSetupDisabled

        public Optional<Boolean> getDisplayToneSetupDisabled()
        “Indicates if displaytone setup screen is disabled”
        Returns:
        property displayToneSetupDisabled
      • withDisplayToneSetupDisabled

        public DepEnrollmentBaseProfile withDisplayToneSetupDisabled​(Boolean displayToneSetupDisabled)
        Returns an immutable copy of this with just the displayToneSetupDisabled 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 displaytone setup screen is disabled”

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

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

        public DepEnrollmentBaseProfile 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 DepEnrollmentBaseProfile 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
      • getLocationDisabled

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

        public DepEnrollmentBaseProfile 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
      • getPrivacyPaneDisabled

        public Optional<Boolean> getPrivacyPaneDisabled()
        “Indicates if privacy screen is disabled”
        Returns:
        property privacyPaneDisabled
      • withPrivacyPaneDisabled

        public DepEnrollmentBaseProfile withPrivacyPaneDisabled​(Boolean privacyPaneDisabled)
        Returns an immutable copy of this with just the privacyPaneDisabled 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 privacy screen is disabled”

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

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

        public DepEnrollmentBaseProfile 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 DepEnrollmentBaseProfile 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
      • getScreenTimeScreenDisabled

        public Optional<Boolean> getScreenTimeScreenDisabled()
        “Indicates if screen timeout setup is disabled”
        Returns:
        property screenTimeScreenDisabled
      • withScreenTimeScreenDisabled

        public DepEnrollmentBaseProfile withScreenTimeScreenDisabled​(Boolean screenTimeScreenDisabled)
        Returns an immutable copy of this with just the screenTimeScreenDisabled 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 screen timeout setup is disabled”

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

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

        public DepEnrollmentBaseProfile 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 DepEnrollmentBaseProfile 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 DepEnrollmentBaseProfile 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 DepEnrollmentBaseProfile 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 DepEnrollmentBaseProfile 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 DepEnrollmentBaseProfile 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
      • 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 DepEnrollmentBaseProfile 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 DepEnrollmentBaseProfile 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