Package odata.msgraph.client.complex
Class Win32LobAppRestartSettings
- java.lang.Object
-
- odata.msgraph.client.complex.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWin32LobAppRestartSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegercountdownDisplayBeforeRestartInMinutesprotected IntegergracePeriodInMinutesprotected StringodataTypeprotected IntegerrestartNotificationSnoozeDurationInMinutesprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedWin32LobAppRestartSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Win32LobAppRestartSettings.Builderbuilder()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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()Win32LobAppRestartSettingswithCountdownDisplayBeforeRestartInMinutes(Integer countdownDisplayBeforeRestartInMinutes)Returns an immutable copy ofthiswith just thecountdownDisplayBeforeRestartInMinutesfield changed.Win32LobAppRestartSettingswithGracePeriodInMinutes(Integer gracePeriodInMinutes)Returns an immutable copy ofthiswith just thegracePeriodInMinutesfield changed.Win32LobAppRestartSettingswithRestartNotificationSnoozeDurationInMinutes(Integer restartNotificationSnoozeDurationInMinutes)Returns an immutable copy ofthiswith just therestartNotificationSnoozeDurationInMinutesfield changed.Win32LobAppRestartSettingswithUnmappedField(String name, Object value)
-
-
-
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
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.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 ofthiswith just thecountdownDisplayBeforeRestartInMinutesfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofcountdownDisplayBeforeRestartInMinutesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecountdownDisplayBeforeRestartInMinutesfield 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 ofthiswith just thegracePeriodInMinutesfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofgracePeriodInMinutesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thegracePeriodInMinutesfield 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 ofthiswith just therestartNotificationSnoozeDurationInMinutesfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofrestartNotificationSnoozeDurationInMinutesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therestartNotificationSnoozeDurationInMinutesfield changed
-
withUnmappedField
public Win32LobAppRestartSettings withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.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
-
-