Class AndroidWorkProfileNineWorkEasConfiguration

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

    public class AndroidWorkProfileNineWorkEasConfiguration
    extends AndroidWorkProfileEasEmailProfileBase
    implements com.github.davidmoten.odata.client.ODataEntityType
    “By providing configurations in this profile you can instruct the Nine Work email client on Android Work Profile devices to communicate with an Exchange server and get email, contacts, calendar, tasks, and notes. Furthermore, you can also specify how much email to sync and how often the device should sync.”
    • Field Detail

      • syncCalendar

        protected Boolean syncCalendar
      • syncContacts

        protected Boolean syncContacts
      • syncTasks

        protected Boolean syncTasks
    • Constructor Detail

      • AndroidWorkProfileNineWorkEasConfiguration

        protected AndroidWorkProfileNineWorkEasConfiguration()
    • Method Detail

      • builderAndroidWorkProfileNineWorkEasConfiguration

        public static AndroidWorkProfileNineWorkEasConfiguration.Builder builderAndroidWorkProfileNineWorkEasConfiguration()
        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 AndroidWorkProfileEasEmailProfileBase
      • getSyncCalendar

        public Optional<Boolean> getSyncCalendar()
        “Toggles syncing the calendar. If set to false the calendar is turned off on the device.”
        Returns:
        property syncCalendar
      • withSyncCalendar

        public AndroidWorkProfileNineWorkEasConfiguration withSyncCalendar​(Boolean syncCalendar)
        Returns an immutable copy of this with just the syncCalendar 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.

        “Toggles syncing the calendar. If set to false the calendar is turned off on the device.”

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

        public Optional<Boolean> getSyncContacts()
        “Toggles syncing contacts. If set to false contacts are turned off on the device.”
        Returns:
        property syncContacts
      • withSyncContacts

        public AndroidWorkProfileNineWorkEasConfiguration withSyncContacts​(Boolean syncContacts)
        Returns an immutable copy of this with just the syncContacts 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.

        “Toggles syncing contacts. If set to false contacts are turned off on the device.”

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

        public Optional<Boolean> getSyncTasks()
        “Toggles syncing tasks. If set to false tasks are turned off on the device.”
        Returns:
        property syncTasks
      • withSyncTasks

        public AndroidWorkProfileNineWorkEasConfiguration withSyncTasks​(Boolean syncTasks)
        Returns an immutable copy of this with just the syncTasks 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.

        “Toggles syncing tasks. If set to false tasks are turned off on the device.”

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