public class Win32LobAppRestartSettings extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
Win32LobAppRestartSettings.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected Integer |
countdownDisplayBeforeRestartInMinutes |
protected Integer |
gracePeriodInMinutes |
protected String |
odataType |
protected Integer |
restartNotificationSnoozeDurationInMinutes |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
Win32LobAppRestartSettings() |
| Modifier and Type | Method and Description |
|---|---|
static Win32LobAppRestartSettings.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Integer> |
getCountdownDisplayBeforeRestartInMinutes()
“The number of minutes before the restart time to display the countdown dialog
for pending restarts.”
|
Optional<Integer> |
getGracePeriodInMinutes()
“The number of minutes to wait before restarting the device after an app
installation.”
|
Optional<Integer> |
getRestartNotificationSnoozeDurationInMinutes()
“The number of minutes to snooze the restart notification dialog when the snooze
button is selected.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
Win32LobAppRestartSettings |
withCountdownDisplayBeforeRestartInMinutes(Integer countdownDisplayBeforeRestartInMinutes)
Returns an immutable copy of
this with just the countdownDisplayBeforeRestartInMinutes field changed. |
Win32LobAppRestartSettings |
withGracePeriodInMinutes(Integer gracePeriodInMinutes)
Returns an immutable copy of
this with just the gracePeriodInMinutes field changed. |
Win32LobAppRestartSettings |
withRestartNotificationSnoozeDurationInMinutes(Integer restartNotificationSnoozeDurationInMinutes)
Returns an immutable copy of
this with just the restartNotificationSnoozeDurationInMinutes field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected Integer gracePeriodInMinutes
protected Integer countdownDisplayBeforeRestartInMinutes
protected Integer restartNotificationSnoozeDurationInMinutes
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<Integer> getGracePeriodInMinutes()
public Win32LobAppRestartSettings withGracePeriodInMinutes(Integer gracePeriodInMinutes)
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.”
gracePeriodInMinutes - new value of gracePeriodInMinutes field (as defined in service metadata)this with just the gracePeriodInMinutes field changedpublic Optional<Integer> getCountdownDisplayBeforeRestartInMinutes()
public Win32LobAppRestartSettings withCountdownDisplayBeforeRestartInMinutes(Integer countdownDisplayBeforeRestartInMinutes)
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.”
countdownDisplayBeforeRestartInMinutes - new value of countdownDisplayBeforeRestartInMinutes field (as defined in service metadata)this with just the countdownDisplayBeforeRestartInMinutes field changedpublic Optional<Integer> getRestartNotificationSnoozeDurationInMinutes()
public Win32LobAppRestartSettings withRestartNotificationSnoozeDurationInMinutes(Integer restartNotificationSnoozeDurationInMinutes)
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.”
restartNotificationSnoozeDurationInMinutes - new value of restartNotificationSnoozeDurationInMinutes field (as defined in service metadata)this with just the restartNotificationSnoozeDurationInMinutes field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static Win32LobAppRestartSettings.Builder builder()
Copyright © 2018–2020. All rights reserved.