Class Win32LobAppRestartSettings

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

    public class Win32LobAppRestartSettings
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Contains properties describing restart coordination following an app installation.”
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • countdownDisplayBeforeRestartInMinutes

        protected Integer countdownDisplayBeforeRestartInMinutes
      • gracePeriodInMinutes

        protected Integer gracePeriodInMinutes
      • restartNotificationSnoozeDurationInMinutes

        protected Integer restartNotificationSnoozeDurationInMinutes
    • Constructor Detail

      • Win32LobAppRestartSettings

        protected Win32LobAppRestartSettings()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getCountdownDisplayBeforeRestartInMinutes

        public Optional<Integer> getCountdownDisplayBeforeRestartInMinutes()
        “The number of minutes before the restart time to display the countdown dialog for pending restarts.”
        Returns:
        property countdownDisplayBeforeRestartInMinutes
      • withCountdownDisplayBeforeRestartInMinutes

        public Win32LobAppRestartSettings withCountdownDisplayBeforeRestartInMinutes​(Integer countdownDisplayBeforeRestartInMinutes)
        Returns an immutable copy of this with just the countdownDisplayBeforeRestartInMinutes 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 restart time to display the countdown dialog for pending restarts.”

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

        public Optional<Integer> getGracePeriodInMinutes()
        “The number of minutes to wait before restarting the device after an app installation.”
        Returns:
        property gracePeriodInMinutes
      • withGracePeriodInMinutes

        public Win32LobAppRestartSettings withGracePeriodInMinutes​(Integer gracePeriodInMinutes)
        Returns an immutable copy of this with just the gracePeriodInMinutes 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 to wait before restarting the device after an app installation.”

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

        public Optional<Integer> getRestartNotificationSnoozeDurationInMinutes()
        “The number of minutes to snooze the restart notification dialog when the snooze button is selected.”
        Returns:
        property restartNotificationSnoozeDurationInMinutes
      • withRestartNotificationSnoozeDurationInMinutes

        public Win32LobAppRestartSettings withRestartNotificationSnoozeDurationInMinutes​(Integer restartNotificationSnoozeDurationInMinutes)
        Returns an immutable copy of this with just the restartNotificationSnoozeDurationInMinutes 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 to snooze the restart notification dialog when the snooze button is selected.”

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

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

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

        public static Win32LobAppRestartSettings.Builder builder()
        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