Class MacOSGeneralDeviceConfiguration

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

    public class MacOSGeneralDeviceConfiguration
    extends DeviceConfiguration
    implements com.github.davidmoten.odata.client.ODataEntityType
    “This topic provides descriptions of the declared methods, properties and relationships exposed by the macOSGeneralDeviceConfiguration resource.”
    • Field Detail

      • addingGameCenterFriendsBlocked

        protected Boolean addingGameCenterFriendsBlocked
      • airDropBlocked

        protected Boolean airDropBlocked
      • appleWatchBlockAutoUnlock

        protected Boolean appleWatchBlockAutoUnlock
      • cameraBlocked

        protected Boolean cameraBlocked
      • classroomAppBlockRemoteScreenObservation

        protected Boolean classroomAppBlockRemoteScreenObservation
      • classroomAppForceUnpromptedScreenObservation

        protected Boolean classroomAppForceUnpromptedScreenObservation
      • classroomForceAutomaticallyJoinClasses

        protected Boolean classroomForceAutomaticallyJoinClasses
      • classroomForceRequestPermissionToLeaveClasses

        protected Boolean classroomForceRequestPermissionToLeaveClasses
      • classroomForceUnpromptedAppAndDeviceLock

        protected Boolean classroomForceUnpromptedAppAndDeviceLock
      • compliantAppListType

        protected AppListType compliantAppListType
      • compliantAppsListNextLink

        protected String compliantAppsListNextLink
      • contentCachingBlocked

        protected Boolean contentCachingBlocked
      • definitionLookupBlocked

        protected Boolean definitionLookupBlocked
      • emailInDomainSuffixes

        protected List<String> emailInDomainSuffixes
      • emailInDomainSuffixesNextLink

        protected String emailInDomainSuffixesNextLink
      • eraseContentAndSettingsBlocked

        protected Boolean eraseContentAndSettingsBlocked
      • gameCenterBlocked

        protected Boolean gameCenterBlocked
      • iCloudBlockActivityContinuation

        protected Boolean iCloudBlockActivityContinuation
      • iCloudBlockAddressBook

        protected Boolean iCloudBlockAddressBook
      • iCloudBlockBookmarks

        protected Boolean iCloudBlockBookmarks
      • iCloudBlockCalendar

        protected Boolean iCloudBlockCalendar
      • iCloudBlockDocumentSync

        protected Boolean iCloudBlockDocumentSync
      • iCloudBlockMail

        protected Boolean iCloudBlockMail
      • iCloudBlockNotes

        protected Boolean iCloudBlockNotes
      • iCloudBlockPhotoLibrary

        protected Boolean iCloudBlockPhotoLibrary
      • iCloudBlockReminders

        protected Boolean iCloudBlockReminders
      • iCloudDesktopAndDocumentsBlocked

        protected Boolean iCloudDesktopAndDocumentsBlocked
      • iCloudPrivateRelayBlocked

        protected Boolean iCloudPrivateRelayBlocked
      • iTunesBlockFileSharing

        protected Boolean iTunesBlockFileSharing
      • iTunesBlockMusicService

        protected Boolean iTunesBlockMusicService
      • keyboardBlockDictation

        protected Boolean keyboardBlockDictation
      • keychainBlockCloudSync

        protected Boolean keychainBlockCloudSync
      • multiplayerGamingBlocked

        protected Boolean multiplayerGamingBlocked
      • passwordBlockAirDropSharing

        protected Boolean passwordBlockAirDropSharing
      • passwordBlockAutoFill

        protected Boolean passwordBlockAutoFill
      • passwordBlockFingerprintUnlock

        protected Boolean passwordBlockFingerprintUnlock
      • passwordBlockModification

        protected Boolean passwordBlockModification
      • passwordBlockProximityRequests

        protected Boolean passwordBlockProximityRequests
      • passwordBlockSimple

        protected Boolean passwordBlockSimple
      • passwordExpirationDays

        protected Integer passwordExpirationDays
      • passwordMaximumAttemptCount

        protected Integer passwordMaximumAttemptCount
      • passwordMinimumCharacterSetCount

        protected Integer passwordMinimumCharacterSetCount
      • passwordMinimumLength

        protected Integer passwordMinimumLength
      • passwordMinutesOfInactivityBeforeLock

        protected Integer passwordMinutesOfInactivityBeforeLock
      • passwordMinutesOfInactivityBeforeScreenTimeout

        protected Integer passwordMinutesOfInactivityBeforeScreenTimeout
      • passwordMinutesUntilFailedLoginReset

        protected Integer passwordMinutesUntilFailedLoginReset
      • passwordPreviousPasswordBlockCount

        protected Integer passwordPreviousPasswordBlockCount
      • passwordRequired

        protected Boolean passwordRequired
      • privacyAccessControlsNextLink

        protected String privacyAccessControlsNextLink
      • safariBlockAutofill

        protected Boolean safariBlockAutofill
      • screenCaptureBlocked

        protected Boolean screenCaptureBlocked
      • softwareUpdateMajorOSDeferredInstallDelayInDays

        protected Integer softwareUpdateMajorOSDeferredInstallDelayInDays
      • softwareUpdateMinorOSDeferredInstallDelayInDays

        protected Integer softwareUpdateMinorOSDeferredInstallDelayInDays
      • softwareUpdateNonOSDeferredInstallDelayInDays

        protected Integer softwareUpdateNonOSDeferredInstallDelayInDays
      • softwareUpdatesEnforcedDelayInDays

        protected Integer softwareUpdatesEnforcedDelayInDays
      • spotlightBlockInternetResults

        protected Boolean spotlightBlockInternetResults
      • touchIdTimeoutInHours

        protected Integer touchIdTimeoutInHours
      • wallpaperModificationBlocked

        protected Boolean wallpaperModificationBlocked
    • Constructor Detail

      • MacOSGeneralDeviceConfiguration

        protected MacOSGeneralDeviceConfiguration()
    • Method Detail

      • odataTypeName

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

        public static MacOSGeneralDeviceConfiguration.Builder builderMacOSGeneralDeviceConfiguration()
        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 DeviceConfiguration
      • postInject

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

        public Optional<Boolean> getAddingGameCenterFriendsBlocked()
        “Yes prevents users from adding friends to Game Center. Available for devices running macOS versions 10.13 and later.”
        Returns:
        property addingGameCenterFriendsBlocked
      • withAddingGameCenterFriendsBlocked

        public MacOSGeneralDeviceConfiguration withAddingGameCenterFriendsBlocked​(Boolean addingGameCenterFriendsBlocked)
        Returns an immutable copy of this with just the addingGameCenterFriendsBlocked 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.

        “Yes prevents users from adding friends to Game Center. Available for devices running macOS versions 10.13 and later.”

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

        public Optional<Boolean> getAirDropBlocked()
        “Indicates whether or not to allow AirDrop.”
        Returns:
        property airDropBlocked
      • withAirDropBlocked

        public MacOSGeneralDeviceConfiguration withAirDropBlocked​(Boolean airDropBlocked)
        Returns an immutable copy of this with just the airDropBlocked 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 whether or not to allow AirDrop.”

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

        public Optional<Boolean> getAppleWatchBlockAutoUnlock()
        “Indicates whether or to block users from unlocking their Mac with Apple Watch.”
        Returns:
        property appleWatchBlockAutoUnlock
      • withAppleWatchBlockAutoUnlock

        public MacOSGeneralDeviceConfiguration withAppleWatchBlockAutoUnlock​(Boolean appleWatchBlockAutoUnlock)
        Returns an immutable copy of this with just the appleWatchBlockAutoUnlock 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 whether or to block users from unlocking their Mac with Apple Watch.”

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

        public Optional<Boolean> getCameraBlocked()
        “Indicates whether or not to block the user from accessing the camera of the device.”
        Returns:
        property cameraBlocked
      • withCameraBlocked

        public MacOSGeneralDeviceConfiguration withCameraBlocked​(Boolean cameraBlocked)
        Returns an immutable copy of this with just the cameraBlocked 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 whether or not to block the user from accessing the camera of the device.”

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

        public Optional<Boolean> getClassroomAppBlockRemoteScreenObservation()
        “Indicates whether or not to allow remote screen observation by Classroom app. Requires MDM enrollment via Apple School Manager or Apple Business Manager.”
        Returns:
        property classroomAppBlockRemoteScreenObservation
      • withClassroomAppBlockRemoteScreenObservation

        public MacOSGeneralDeviceConfiguration withClassroomAppBlockRemoteScreenObservation​(Boolean classroomAppBlockRemoteScreenObservation)
        Returns an immutable copy of this with just the classroomAppBlockRemoteScreenObservation 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 whether or not to allow remote screen observation by Classroom app. Requires MDM enrollment via Apple School Manager or Apple Business Manager.”

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

        public Optional<Boolean> getClassroomAppForceUnpromptedScreenObservation()
        “Indicates whether or not to automatically give permission to the teacher of a managed course on the Classroom app to view a student's screen without prompting . Requires MDM enrollment via Apple School Manager or Apple Business Manager.”
        Returns:
        property classroomAppForceUnpromptedScreenObservation
      • withClassroomAppForceUnpromptedScreenObservation

        public MacOSGeneralDeviceConfiguration withClassroomAppForceUnpromptedScreenObservation​(Boolean classroomAppForceUnpromptedScreenObservation)
        Returns an immutable copy of this with just the classroomAppForceUnpromptedScreenObservation 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 whether or not to automatically give permission to the teacher of a managed course on the Classroom app to view a student's screen without prompting . Requires MDM enrollment via Apple School Manager or Apple Business Manager.”

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

        public Optional<Boolean> getClassroomForceAutomaticallyJoinClasses()
        “Indicates whether or not to automatically give permission to the teacher's requests, without prompting the student. Requires MDM enrollment via Apple School Manager or Apple Business Manager.”
        Returns:
        property classroomForceAutomaticallyJoinClasses
      • withClassroomForceAutomaticallyJoinClasses

        public MacOSGeneralDeviceConfiguration withClassroomForceAutomaticallyJoinClasses​(Boolean classroomForceAutomaticallyJoinClasses)
        Returns an immutable copy of this with just the classroomForceAutomaticallyJoinClasses 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 whether or not to automatically give permission to the teacher's requests, without prompting the student. Requires MDM enrollment via Apple School Manager or Apple Business Manager.”

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

        public Optional<Boolean> getClassroomForceRequestPermissionToLeaveClasses()
        “Indicates whether a student enrolled in an unmanaged course via Classroom will be required to request permission from the teacher when attempting to leave the course. Requires MDM enrollment via Apple School Manager or Apple Business Manager.”
        Returns:
        property classroomForceRequestPermissionToLeaveClasses
      • withClassroomForceRequestPermissionToLeaveClasses

        public MacOSGeneralDeviceConfiguration withClassroomForceRequestPermissionToLeaveClasses​(Boolean classroomForceRequestPermissionToLeaveClasses)
        Returns an immutable copy of this with just the classroomForceRequestPermissionToLeaveClasses 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 whether a student enrolled in an unmanaged course via Classroom will be required to request permission from the teacher when attempting to leave the course. Requires MDM enrollment via Apple School Manager or Apple Business Manager.”

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

        public Optional<Boolean> getClassroomForceUnpromptedAppAndDeviceLock()
        “Indicates whether or not to allow the teacher to lock apps or the device without prompting the student. Requires MDM enrollment via Apple School Manager or Apple Business Manager.”
        Returns:
        property classroomForceUnpromptedAppAndDeviceLock
      • withClassroomForceUnpromptedAppAndDeviceLock

        public MacOSGeneralDeviceConfiguration withClassroomForceUnpromptedAppAndDeviceLock​(Boolean classroomForceUnpromptedAppAndDeviceLock)
        Returns an immutable copy of this with just the classroomForceUnpromptedAppAndDeviceLock 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 whether or not to allow the teacher to lock apps or the device without prompting the student. Requires MDM enrollment via Apple School Manager or Apple Business Manager.”

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

        public Optional<AppListType> getCompliantAppListType()
        “List that is in the CompliantAppsList.”
        Returns:
        property compliantAppListType
      • withCompliantAppListType

        public MacOSGeneralDeviceConfiguration withCompliantAppListType​(AppListType compliantAppListType)
        Returns an immutable copy of this with just the compliantAppListType 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 that is in the CompliantAppsList.”

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

        public com.github.davidmoten.odata.client.CollectionPage<AppListItem> getCompliantAppsList()
        “List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.”
        Returns:
        property compliantAppsList
      • withCompliantAppsList

        public MacOSGeneralDeviceConfiguration withCompliantAppsList​(List<AppListItem> compliantAppsList)
        Returns an immutable copy of this with just the compliantAppsList 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 apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.”

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

        public com.github.davidmoten.odata.client.CollectionPage<AppListItem> getCompliantAppsList​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property compliantAppsList
      • getContentCachingBlocked

        public Optional<Boolean> getContentCachingBlocked()
        “Indicates whether or not to allow content caching.”
        Returns:
        property contentCachingBlocked
      • withContentCachingBlocked

        public MacOSGeneralDeviceConfiguration withContentCachingBlocked​(Boolean contentCachingBlocked)
        Returns an immutable copy of this with just the contentCachingBlocked 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 whether or not to allow content caching.”

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

        public Optional<Boolean> getDefinitionLookupBlocked()
        “Indicates whether or not to block definition lookup.”
        Returns:
        property definitionLookupBlocked
      • withDefinitionLookupBlocked

        public MacOSGeneralDeviceConfiguration withDefinitionLookupBlocked​(Boolean definitionLookupBlocked)
        Returns an immutable copy of this with just the definitionLookupBlocked 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 whether or not to block definition lookup.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getEmailInDomainSuffixes()
        “An email address lacking a suffix that matches any of these strings will be considered out-of-domain.”
        Returns:
        property emailInDomainSuffixes
      • withEmailInDomainSuffixes

        public MacOSGeneralDeviceConfiguration withEmailInDomainSuffixes​(List<String> emailInDomainSuffixes)
        Returns an immutable copy of this with just the emailInDomainSuffixes 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 email address lacking a suffix that matches any of these strings will be considered out-of-domain.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getEmailInDomainSuffixes​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “An email address lacking a suffix that matches any of these strings will be considered out-of-domain.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property emailInDomainSuffixes
      • getEraseContentAndSettingsBlocked

        public Optional<Boolean> getEraseContentAndSettingsBlocked()
        “TRUE disables the reset option on supervised devices. FALSE enables the reset option on supervised devices. Available for devices running macOS versions 12.0 and later.”
        Returns:
        property eraseContentAndSettingsBlocked
      • withEraseContentAndSettingsBlocked

        public MacOSGeneralDeviceConfiguration withEraseContentAndSettingsBlocked​(Boolean eraseContentAndSettingsBlocked)
        Returns an immutable copy of this with just the eraseContentAndSettingsBlocked 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.

        “TRUE disables the reset option on supervised devices. FALSE enables the reset option on supervised devices. Available for devices running macOS versions 12.0 and later.”

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

        public Optional<Boolean> getGameCenterBlocked()
        “Yes disables Game Center, and the Game Center icon is removed from the Home screen. Available for devices running macOS versions 10.13 and later.”
        Returns:
        property gameCenterBlocked
      • withGameCenterBlocked

        public MacOSGeneralDeviceConfiguration withGameCenterBlocked​(Boolean gameCenterBlocked)
        Returns an immutable copy of this with just the gameCenterBlocked 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.

        “Yes disables Game Center, and the Game Center icon is removed from the Home screen. Available for devices running macOS versions 10.13 and later.”

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

        public Optional<Boolean> getICloudBlockActivityContinuation()
        “Indicates whether or not to block the user from continuing work that they started on a MacOS device on another iOS or MacOS device (MacOS 10.15 or later).”
        Returns:
        property iCloudBlockActivityContinuation
      • withICloudBlockActivityContinuation

        public MacOSGeneralDeviceConfiguration withICloudBlockActivityContinuation​(Boolean iCloudBlockActivityContinuation)
        Returns an immutable copy of this with just the iCloudBlockActivityContinuation 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 whether or not to block the user from continuing work that they started on a MacOS device on another iOS or MacOS device (MacOS 10.15 or later).”

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

        public Optional<Boolean> getICloudBlockAddressBook()
        “Indicates whether or not to block iCloud from syncing contacts.”
        Returns:
        property iCloudBlockAddressBook
      • withICloudBlockAddressBook

        public MacOSGeneralDeviceConfiguration withICloudBlockAddressBook​(Boolean iCloudBlockAddressBook)
        Returns an immutable copy of this with just the iCloudBlockAddressBook 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 whether or not to block iCloud from syncing contacts.”

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

        public Optional<Boolean> getICloudBlockBookmarks()
        “Indicates whether or not to block iCloud from syncing bookmarks.”
        Returns:
        property iCloudBlockBookmarks
      • withICloudBlockBookmarks

        public MacOSGeneralDeviceConfiguration withICloudBlockBookmarks​(Boolean iCloudBlockBookmarks)
        Returns an immutable copy of this with just the iCloudBlockBookmarks 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 whether or not to block iCloud from syncing bookmarks.”

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

        public Optional<Boolean> getICloudBlockCalendar()
        “Indicates whether or not to block iCloud from syncing calendars.”
        Returns:
        property iCloudBlockCalendar
      • withICloudBlockCalendar

        public MacOSGeneralDeviceConfiguration withICloudBlockCalendar​(Boolean iCloudBlockCalendar)
        Returns an immutable copy of this with just the iCloudBlockCalendar 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 whether or not to block iCloud from syncing calendars.”

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

        public Optional<Boolean> getICloudBlockDocumentSync()
        “Indicates whether or not to block iCloud document sync.”
        Returns:
        property iCloudBlockDocumentSync
      • withICloudBlockDocumentSync

        public MacOSGeneralDeviceConfiguration withICloudBlockDocumentSync​(Boolean iCloudBlockDocumentSync)
        Returns an immutable copy of this with just the iCloudBlockDocumentSync 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 whether or not to block iCloud document sync.”

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

        public Optional<Boolean> getICloudBlockMail()
        “Indicates whether or not to block iCloud from syncing mail.”
        Returns:
        property iCloudBlockMail
      • withICloudBlockMail

        public MacOSGeneralDeviceConfiguration withICloudBlockMail​(Boolean iCloudBlockMail)
        Returns an immutable copy of this with just the iCloudBlockMail 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 whether or not to block iCloud from syncing mail.”

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

        public Optional<Boolean> getICloudBlockNotes()
        “Indicates whether or not to block iCloud from syncing notes.”
        Returns:
        property iCloudBlockNotes
      • withICloudBlockNotes

        public MacOSGeneralDeviceConfiguration withICloudBlockNotes​(Boolean iCloudBlockNotes)
        Returns an immutable copy of this with just the iCloudBlockNotes 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 whether or not to block iCloud from syncing notes.”

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

        public Optional<Boolean> getICloudBlockPhotoLibrary()
        “Indicates whether or not to block iCloud Photo Library.”
        Returns:
        property iCloudBlockPhotoLibrary
      • withICloudBlockPhotoLibrary

        public MacOSGeneralDeviceConfiguration withICloudBlockPhotoLibrary​(Boolean iCloudBlockPhotoLibrary)
        Returns an immutable copy of this with just the iCloudBlockPhotoLibrary 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 whether or not to block iCloud Photo Library.”

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

        public Optional<Boolean> getICloudBlockReminders()
        “Indicates whether or not to block iCloud from syncing reminders.”
        Returns:
        property iCloudBlockReminders
      • withICloudBlockReminders

        public MacOSGeneralDeviceConfiguration withICloudBlockReminders​(Boolean iCloudBlockReminders)
        Returns an immutable copy of this with just the iCloudBlockReminders 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 whether or not to block iCloud from syncing reminders.”

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

        public Optional<Boolean> getICloudDesktopAndDocumentsBlocked()
        “When TRUE the synchronization of cloud desktop and documents is blocked. When FALSE, synchronization of the cloud desktop and documents are allowed. Available for devices running macOS 10.12.4 and later.”
        Returns:
        property iCloudDesktopAndDocumentsBlocked
      • withICloudDesktopAndDocumentsBlocked

        public MacOSGeneralDeviceConfiguration withICloudDesktopAndDocumentsBlocked​(Boolean iCloudDesktopAndDocumentsBlocked)
        Returns an immutable copy of this with just the iCloudDesktopAndDocumentsBlocked 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.

        “When TRUE the synchronization of cloud desktop and documents is blocked. When FALSE, synchronization of the cloud desktop and documents are allowed. Available for devices running macOS 10.12.4 and later.”

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

        public Optional<Boolean> getICloudPrivateRelayBlocked()
        “iCloud private relay is an iCloud+ service that prevents networks and servers from monitoring a person's activity across the internet. By blocking iCloud private relay, Apple will not encrypt the traffic leaving the device. Available for devices running macOS 12 and later.”
        Returns:
        property iCloudPrivateRelayBlocked
      • withICloudPrivateRelayBlocked

        public MacOSGeneralDeviceConfiguration withICloudPrivateRelayBlocked​(Boolean iCloudPrivateRelayBlocked)
        Returns an immutable copy of this with just the iCloudPrivateRelayBlocked 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.

        “iCloud private relay is an iCloud+ service that prevents networks and servers from monitoring a person's activity across the internet. By blocking iCloud private relay, Apple will not encrypt the traffic leaving the device. Available for devices running macOS 12 and later.”

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

        public Optional<Boolean> getITunesBlockFileSharing()
        “Indicates whether or not to block files from being transferred using iTunes.”
        Returns:
        property iTunesBlockFileSharing
      • withITunesBlockFileSharing

        public MacOSGeneralDeviceConfiguration withITunesBlockFileSharing​(Boolean iTunesBlockFileSharing)
        Returns an immutable copy of this with just the iTunesBlockFileSharing 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 whether or not to block files from being transferred using iTunes.”

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

        public Optional<Boolean> getITunesBlockMusicService()
        “Indicates whether or not to block Music service and revert Music app to classic mode.”
        Returns:
        property iTunesBlockMusicService
      • withITunesBlockMusicService

        public MacOSGeneralDeviceConfiguration withITunesBlockMusicService​(Boolean iTunesBlockMusicService)
        Returns an immutable copy of this with just the iTunesBlockMusicService 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 whether or not to block Music service and revert Music app to classic mode.”

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

        public Optional<Boolean> getKeyboardBlockDictation()
        “Indicates whether or not to block the user from using dictation input.”
        Returns:
        property keyboardBlockDictation
      • withKeyboardBlockDictation

        public MacOSGeneralDeviceConfiguration withKeyboardBlockDictation​(Boolean keyboardBlockDictation)
        Returns an immutable copy of this with just the keyboardBlockDictation 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 whether or not to block the user from using dictation input.”

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

        public Optional<Boolean> getKeychainBlockCloudSync()
        “Indicates whether or not iCloud keychain synchronization is blocked (macOS 10.12 and later).”
        Returns:
        property keychainBlockCloudSync
      • withKeychainBlockCloudSync

        public MacOSGeneralDeviceConfiguration withKeychainBlockCloudSync​(Boolean keychainBlockCloudSync)
        Returns an immutable copy of this with just the keychainBlockCloudSync 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 whether or not iCloud keychain synchronization is blocked (macOS 10.12 and later).”

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

        public Optional<Boolean> getMultiplayerGamingBlocked()
        “TRUE prevents multiplayer gaming when using Game Center. FALSE allows multiplayer gaming when using Game Center. Available for devices running macOS versions 10.13 and later.”
        Returns:
        property multiplayerGamingBlocked
      • withMultiplayerGamingBlocked

        public MacOSGeneralDeviceConfiguration withMultiplayerGamingBlocked​(Boolean multiplayerGamingBlocked)
        Returns an immutable copy of this with just the multiplayerGamingBlocked 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.

        “TRUE prevents multiplayer gaming when using Game Center. FALSE allows multiplayer gaming when using Game Center. Available for devices running macOS versions 10.13 and later.”

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

        public Optional<Boolean> getPasswordBlockAirDropSharing()
        “Indicates whether or not to block sharing passwords with the AirDrop passwords feature.”
        Returns:
        property passwordBlockAirDropSharing
      • withPasswordBlockAirDropSharing

        public MacOSGeneralDeviceConfiguration withPasswordBlockAirDropSharing​(Boolean passwordBlockAirDropSharing)
        Returns an immutable copy of this with just the passwordBlockAirDropSharing 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 whether or not to block sharing passwords with the AirDrop passwords feature.”

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

        public Optional<Boolean> getPasswordBlockAutoFill()
        “Indicates whether or not to block the AutoFill Passwords feature.”
        Returns:
        property passwordBlockAutoFill
      • withPasswordBlockAutoFill

        public MacOSGeneralDeviceConfiguration withPasswordBlockAutoFill​(Boolean passwordBlockAutoFill)
        Returns an immutable copy of this with just the passwordBlockAutoFill 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 whether or not to block the AutoFill Passwords feature.”

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

        public Optional<Boolean> getPasswordBlockFingerprintUnlock()
        “Indicates whether or not to block fingerprint unlock.”
        Returns:
        property passwordBlockFingerprintUnlock
      • withPasswordBlockFingerprintUnlock

        public MacOSGeneralDeviceConfiguration withPasswordBlockFingerprintUnlock​(Boolean passwordBlockFingerprintUnlock)
        Returns an immutable copy of this with just the passwordBlockFingerprintUnlock 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 whether or not to block fingerprint unlock.”

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

        public Optional<Boolean> getPasswordBlockModification()
        “Indicates whether or not to allow passcode modification.”
        Returns:
        property passwordBlockModification
      • withPasswordBlockModification

        public MacOSGeneralDeviceConfiguration withPasswordBlockModification​(Boolean passwordBlockModification)
        Returns an immutable copy of this with just the passwordBlockModification 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 whether or not to allow passcode modification.”

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

        public Optional<Boolean> getPasswordBlockProximityRequests()
        “Indicates whether or not to block requesting passwords from nearby devices.”
        Returns:
        property passwordBlockProximityRequests
      • withPasswordBlockProximityRequests

        public MacOSGeneralDeviceConfiguration withPasswordBlockProximityRequests​(Boolean passwordBlockProximityRequests)
        Returns an immutable copy of this with just the passwordBlockProximityRequests 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 whether or not to block requesting passwords from nearby devices.”

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

        public Optional<Boolean> getPasswordBlockSimple()
        “Block simple passwords.”
        Returns:
        property passwordBlockSimple
      • withPasswordBlockSimple

        public MacOSGeneralDeviceConfiguration withPasswordBlockSimple​(Boolean passwordBlockSimple)
        Returns an immutable copy of this with just the passwordBlockSimple 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.

        “Block simple passwords.”

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

        public Optional<Integer> getPasswordExpirationDays()
        “Number of days before the password expires.”
        Returns:
        property passwordExpirationDays
      • withPasswordExpirationDays

        public MacOSGeneralDeviceConfiguration withPasswordExpirationDays​(Integer passwordExpirationDays)
        Returns an immutable copy of this with just the passwordExpirationDays 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.

        “Number of days before the password expires.”

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

        public Optional<Integer> getPasswordMaximumAttemptCount()
        “The number of allowed failed attempts to enter the passcode at the device's lock screen. Valid values 2 to 11”
        Returns:
        property passwordMaximumAttemptCount
      • withPasswordMaximumAttemptCount

        public MacOSGeneralDeviceConfiguration withPasswordMaximumAttemptCount​(Integer passwordMaximumAttemptCount)
        Returns an immutable copy of this with just the passwordMaximumAttemptCount 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 number of allowed failed attempts to enter the passcode at the device's lock screen. Valid values 2 to 11”

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

        public Optional<Integer> getPasswordMinimumCharacterSetCount()
        “Number of character sets a password must contain. Valid values 0 to 4”
        Returns:
        property passwordMinimumCharacterSetCount
      • withPasswordMinimumCharacterSetCount

        public MacOSGeneralDeviceConfiguration withPasswordMinimumCharacterSetCount​(Integer passwordMinimumCharacterSetCount)
        Returns an immutable copy of this with just the passwordMinimumCharacterSetCount 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.

        “Number of character sets a password must contain. Valid values 0 to 4”

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

        public Optional<Integer> getPasswordMinimumLength()
        “Minimum length of passwords.”
        Returns:
        property passwordMinimumLength
      • withPasswordMinimumLength

        public MacOSGeneralDeviceConfiguration withPasswordMinimumLength​(Integer passwordMinimumLength)
        Returns an immutable copy of this with just the passwordMinimumLength 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.

        “Minimum length of passwords.”

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

        public Optional<Integer> getPasswordMinutesOfInactivityBeforeLock()
        “Minutes of inactivity required before a password is required.”
        Returns:
        property passwordMinutesOfInactivityBeforeLock
      • withPasswordMinutesOfInactivityBeforeLock

        public MacOSGeneralDeviceConfiguration withPasswordMinutesOfInactivityBeforeLock​(Integer passwordMinutesOfInactivityBeforeLock)
        Returns an immutable copy of this with just the passwordMinutesOfInactivityBeforeLock 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.

        “Minutes of inactivity required before a password is required.”

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

        public Optional<Integer> getPasswordMinutesOfInactivityBeforeScreenTimeout()
        “Minutes of inactivity required before the screen times out.”
        Returns:
        property passwordMinutesOfInactivityBeforeScreenTimeout
      • withPasswordMinutesOfInactivityBeforeScreenTimeout

        public MacOSGeneralDeviceConfiguration withPasswordMinutesOfInactivityBeforeScreenTimeout​(Integer passwordMinutesOfInactivityBeforeScreenTimeout)
        Returns an immutable copy of this with just the passwordMinutesOfInactivityBeforeScreenTimeout 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.

        “Minutes of inactivity required before the screen times out.”

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

        public Optional<Integer> getPasswordMinutesUntilFailedLoginReset()
        “The number of minutes before the login is reset after the maximum number of unsuccessful login attempts is reached.”
        Returns:
        property passwordMinutesUntilFailedLoginReset
      • withPasswordMinutesUntilFailedLoginReset

        public MacOSGeneralDeviceConfiguration withPasswordMinutesUntilFailedLoginReset​(Integer passwordMinutesUntilFailedLoginReset)
        Returns an immutable copy of this with just the passwordMinutesUntilFailedLoginReset 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 number of minutes before the login is reset after the maximum number of unsuccessful login attempts is reached.”

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

        public Optional<Integer> getPasswordPreviousPasswordBlockCount()
        “Number of previous passwords to block.”
        Returns:
        property passwordPreviousPasswordBlockCount
      • withPasswordPreviousPasswordBlockCount

        public MacOSGeneralDeviceConfiguration withPasswordPreviousPasswordBlockCount​(Integer passwordPreviousPasswordBlockCount)
        Returns an immutable copy of this with just the passwordPreviousPasswordBlockCount 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.

        “Number of previous passwords to block.”

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

        public Optional<Boolean> getPasswordRequired()
        “Whether or not to require a password.”
        Returns:
        property passwordRequired
      • withPasswordRequired

        public MacOSGeneralDeviceConfiguration withPasswordRequired​(Boolean passwordRequired)
        Returns an immutable copy of this with just the passwordRequired 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 or not to require a password.”

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

        public Optional<RequiredPasswordType> getPasswordRequiredType()
        “Type of password that is required.”
        Returns:
        property passwordRequiredType
      • withPasswordRequiredType

        public MacOSGeneralDeviceConfiguration withPasswordRequiredType​(RequiredPasswordType passwordRequiredType)
        Returns an immutable copy of this with just the passwordRequiredType 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.

        “Type of password that is required.”

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

        public com.github.davidmoten.odata.client.CollectionPage<MacOSPrivacyAccessControlItem> getPrivacyAccessControls()
        “List of privacy preference policy controls. This collection can contain a maximum of 10000 elements.”
        Returns:
        property privacyAccessControls
      • withPrivacyAccessControls

        public MacOSGeneralDeviceConfiguration withPrivacyAccessControls​(List<MacOSPrivacyAccessControlItem> privacyAccessControls)
        Returns an immutable copy of this with just the privacyAccessControls 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 privacy preference policy controls. This collection can contain a maximum of 10000 elements.”

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

        public com.github.davidmoten.odata.client.CollectionPage<MacOSPrivacyAccessControlItem> getPrivacyAccessControls​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “List of privacy preference policy controls. This collection can contain a maximum of 10000 elements.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property privacyAccessControls
      • getSafariBlockAutofill

        public Optional<Boolean> getSafariBlockAutofill()
        “Indicates whether or not to block the user from using Auto fill in Safari.”
        Returns:
        property safariBlockAutofill
      • withSafariBlockAutofill

        public MacOSGeneralDeviceConfiguration withSafariBlockAutofill​(Boolean safariBlockAutofill)
        Returns an immutable copy of this with just the safariBlockAutofill 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 whether or not to block the user from using Auto fill in Safari.”

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

        public Optional<Boolean> getScreenCaptureBlocked()
        “Indicates whether or not to block the user from taking Screenshots.”
        Returns:
        property screenCaptureBlocked
      • withScreenCaptureBlocked

        public MacOSGeneralDeviceConfiguration withScreenCaptureBlocked​(Boolean screenCaptureBlocked)
        Returns an immutable copy of this with just the screenCaptureBlocked 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 whether or not to block the user from taking Screenshots.”

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

        public Optional<Integer> getSoftwareUpdateMajorOSDeferredInstallDelayInDays()
        “Specify the number of days (1-90) to delay visibility of major OS software updates. Available for devices running macOS versions 11.3 and later. Valid values 0 to 90”
        Returns:
        property softwareUpdateMajorOSDeferredInstallDelayInDays
      • withSoftwareUpdateMajorOSDeferredInstallDelayInDays

        public MacOSGeneralDeviceConfiguration withSoftwareUpdateMajorOSDeferredInstallDelayInDays​(Integer softwareUpdateMajorOSDeferredInstallDelayInDays)
        Returns an immutable copy of this with just the softwareUpdateMajorOSDeferredInstallDelayInDays 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.

        “Specify the number of days (1-90) to delay visibility of major OS software updates. Available for devices running macOS versions 11.3 and later. Valid values 0 to 90”

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

        public Optional<Integer> getSoftwareUpdateMinorOSDeferredInstallDelayInDays()
        “Specify the number of days (1-90) to delay visibility of minor OS software updates. Available for devices running macOS versions 11.3 and later. Valid values 0 to 90”
        Returns:
        property softwareUpdateMinorOSDeferredInstallDelayInDays
      • withSoftwareUpdateMinorOSDeferredInstallDelayInDays

        public MacOSGeneralDeviceConfiguration withSoftwareUpdateMinorOSDeferredInstallDelayInDays​(Integer softwareUpdateMinorOSDeferredInstallDelayInDays)
        Returns an immutable copy of this with just the softwareUpdateMinorOSDeferredInstallDelayInDays 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.

        “Specify the number of days (1-90) to delay visibility of minor OS software updates. Available for devices running macOS versions 11.3 and later. Valid values 0 to 90”

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

        public Optional<Integer> getSoftwareUpdateNonOSDeferredInstallDelayInDays()
        “Specify the number of days (1-90) to delay visibility of non-OS software updates . Available for devices running macOS versions 11.3 and later. Valid values 0 to 90”
        Returns:
        property softwareUpdateNonOSDeferredInstallDelayInDays
      • withSoftwareUpdateNonOSDeferredInstallDelayInDays

        public MacOSGeneralDeviceConfiguration withSoftwareUpdateNonOSDeferredInstallDelayInDays​(Integer softwareUpdateNonOSDeferredInstallDelayInDays)
        Returns an immutable copy of this with just the softwareUpdateNonOSDeferredInstallDelayInDays 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.

        “Specify the number of days (1-90) to delay visibility of non-OS software updates . Available for devices running macOS versions 11.3 and later. Valid values 0 to 90”

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

        public Optional<Integer> getSoftwareUpdatesEnforcedDelayInDays()
        “Sets how many days a software update will be delyed for a supervised device. Valid values 0 to 90”
        Returns:
        property softwareUpdatesEnforcedDelayInDays
      • withSoftwareUpdatesEnforcedDelayInDays

        public MacOSGeneralDeviceConfiguration withSoftwareUpdatesEnforcedDelayInDays​(Integer softwareUpdatesEnforcedDelayInDays)
        Returns an immutable copy of this with just the softwareUpdatesEnforcedDelayInDays 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 how many days a software update will be delyed for a supervised device. Valid values 0 to 90”

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

        public Optional<Boolean> getSpotlightBlockInternetResults()
        “Indicates whether or not to block Spotlight from returning any results from an Internet search.”
        Returns:
        property spotlightBlockInternetResults
      • withSpotlightBlockInternetResults

        public MacOSGeneralDeviceConfiguration withSpotlightBlockInternetResults​(Boolean spotlightBlockInternetResults)
        Returns an immutable copy of this with just the spotlightBlockInternetResults 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 whether or not to block Spotlight from returning any results from an Internet search.”

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

        public Optional<Integer> getTouchIdTimeoutInHours()
        “Maximum hours after which the user must enter their password to unlock the device instead of using Touch ID. Available for devices running macOS 12 and later. Valid values 0 to 2147483647”
        Returns:
        property touchIdTimeoutInHours
      • withTouchIdTimeoutInHours

        public MacOSGeneralDeviceConfiguration withTouchIdTimeoutInHours​(Integer touchIdTimeoutInHours)
        Returns an immutable copy of this with just the touchIdTimeoutInHours 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.

        “Maximum hours after which the user must enter their password to unlock the device instead of using Touch ID. Available for devices running macOS 12 and later. Valid values 0 to 2147483647”

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

        public Optional<MacOSSoftwareUpdateDelayPolicy> getUpdateDelayPolicy()
        “Determines whether to delay OS and/or app updates for macOS.”
        Returns:
        property updateDelayPolicy
      • withUpdateDelayPolicy

        public MacOSGeneralDeviceConfiguration withUpdateDelayPolicy​(MacOSSoftwareUpdateDelayPolicy updateDelayPolicy)
        Returns an immutable copy of this with just the updateDelayPolicy 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.

        “Determines whether to delay OS and/or app updates for macOS.”

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

        public Optional<Boolean> getWallpaperModificationBlocked()
        “TRUE prevents the wallpaper from being changed. FALSE allows the wallpaper to be changed. Available for devices running macOS versions 10.13 and later.”
        Returns:
        property wallpaperModificationBlocked
      • withWallpaperModificationBlocked

        public MacOSGeneralDeviceConfiguration withWallpaperModificationBlocked​(Boolean wallpaperModificationBlocked)
        Returns an immutable copy of this with just the wallpaperModificationBlocked 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.

        “TRUE prevents the wallpaper from being changed. FALSE allows the wallpaper to be changed. Available for devices running macOS versions 10.13 and later.”

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

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