Class DepMacOSEnrollmentProfile

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

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

      • accessibilityScreenDisabled

        protected Boolean accessibilityScreenDisabled
      • chooseYourLockScreenDisabled

        protected Boolean chooseYourLockScreenDisabled
      • fileVaultDisabled

        protected Boolean fileVaultDisabled
      • iCloudDiagnosticsDisabled

        protected Boolean iCloudDiagnosticsDisabled
      • iCloudStorageDisabled

        protected Boolean iCloudStorageDisabled
      • passCodeDisabled

        protected Boolean passCodeDisabled
      • registrationDisabled

        protected Boolean registrationDisabled
      • zoomDisabled

        protected Boolean zoomDisabled
    • Constructor Detail

      • DepMacOSEnrollmentProfile

        protected DepMacOSEnrollmentProfile()
    • Method Detail

      • builderDepMacOSEnrollmentProfile

        public static DepMacOSEnrollmentProfile.Builder builderDepMacOSEnrollmentProfile()
        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 DepEnrollmentBaseProfile
      • postInject

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

        public Optional<Boolean> getAccessibilityScreenDisabled()
        “Indicates if Accessibility screen is disabled”
        Returns:
        property accessibilityScreenDisabled
      • withAccessibilityScreenDisabled

        public DepMacOSEnrollmentProfile withAccessibilityScreenDisabled​(Boolean accessibilityScreenDisabled)
        Returns an immutable copy of this with just the accessibilityScreenDisabled 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 Accessibility screen is disabled”

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

        public Optional<Boolean> getChooseYourLockScreenDisabled()
        “Indicates if iCloud Documents and Desktop screen is disabled”
        Returns:
        property chooseYourLockScreenDisabled
      • withChooseYourLockScreenDisabled

        public DepMacOSEnrollmentProfile withChooseYourLockScreenDisabled​(Boolean chooseYourLockScreenDisabled)
        Returns an immutable copy of this with just the chooseYourLockScreenDisabled 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 iCloud Documents and Desktop screen is disabled”

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

        public Optional<Boolean> getFileVaultDisabled()
        “Indicates if file vault is disabled”
        Returns:
        property fileVaultDisabled
      • withFileVaultDisabled

        public DepMacOSEnrollmentProfile withFileVaultDisabled​(Boolean fileVaultDisabled)
        Returns an immutable copy of this with just the fileVaultDisabled 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 file vault is disabled”

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

        public Optional<Boolean> getICloudDiagnosticsDisabled()
        “Indicates if iCloud Analytics screen is disabled”
        Returns:
        property iCloudDiagnosticsDisabled
      • withICloudDiagnosticsDisabled

        public DepMacOSEnrollmentProfile withICloudDiagnosticsDisabled​(Boolean iCloudDiagnosticsDisabled)
        Returns an immutable copy of this with just the iCloudDiagnosticsDisabled 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 iCloud Analytics screen is disabled”

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

        public Optional<Boolean> getICloudStorageDisabled()
        “Indicates if iCloud Documents and Desktop screen is disabled”
        Returns:
        property iCloudStorageDisabled
      • withICloudStorageDisabled

        public DepMacOSEnrollmentProfile withICloudStorageDisabled​(Boolean iCloudStorageDisabled)
        Returns an immutable copy of this with just the iCloudStorageDisabled 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 iCloud Documents and Desktop screen is disabled”

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

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

        public DepMacOSEnrollmentProfile 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
      • getRegistrationDisabled

        public Optional<Boolean> getRegistrationDisabled()
        “Indicates if registration is disabled”
        Returns:
        property registrationDisabled
      • withRegistrationDisabled

        public DepMacOSEnrollmentProfile withRegistrationDisabled​(Boolean registrationDisabled)
        Returns an immutable copy of this with just the registrationDisabled 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 registration is disabled”

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

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

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

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