Class ExpeditedWindowsQualityUpdateSettings
- java.lang.Object
-
- odata.msgraph.client.beta.complex.ExpeditedWindowsQualityUpdateSettings
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ExpeditedWindowsQualityUpdateSettings extends Object implements com.github.davidmoten.odata.client.ODataType
“A complex type to store the expedited quality update settings such as release date and days until forced reboot.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExpeditedWindowsQualityUpdateSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegerdaysUntilForcedRebootprotected StringodataTypeprotected StringqualityUpdateReleaseprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedExpeditedWindowsQualityUpdateSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExpeditedWindowsQualityUpdateSettings.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getDaysUntilForcedReboot()“The number of days after installation that forced reboot will happen.”Optional<String>getQualityUpdateRelease()“The release date to identify a quality update.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ExpeditedWindowsQualityUpdateSettingswithDaysUntilForcedReboot(Integer daysUntilForcedReboot)Returns an immutable copy ofthiswith just thedaysUntilForcedRebootfield changed.ExpeditedWindowsQualityUpdateSettingswithQualityUpdateRelease(String qualityUpdateRelease)Returns an immutable copy ofthiswith just thequalityUpdateReleasefield changed.ExpeditedWindowsQualityUpdateSettingswithUnmappedField(String name, String 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
-
daysUntilForcedReboot
protected Integer daysUntilForcedReboot
-
qualityUpdateRelease
protected String qualityUpdateRelease
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDaysUntilForcedReboot
public Optional<Integer> getDaysUntilForcedReboot()
“The number of days after installation that forced reboot will happen.”- Returns:
- property daysUntilForcedReboot
-
withDaysUntilForcedReboot
public ExpeditedWindowsQualityUpdateSettings withDaysUntilForcedReboot(Integer daysUntilForcedReboot)
Returns an immutable copy ofthiswith just thedaysUntilForcedRebootfield 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 days after installation that forced reboot will happen.”
- Parameters:
daysUntilForcedReboot- new value ofdaysUntilForcedRebootfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedaysUntilForcedRebootfield changed
-
getQualityUpdateRelease
public Optional<String> getQualityUpdateRelease()
“The release date to identify a quality update.”- Returns:
- property qualityUpdateRelease
-
withQualityUpdateRelease
public ExpeditedWindowsQualityUpdateSettings withQualityUpdateRelease(String qualityUpdateRelease)
Returns an immutable copy ofthiswith just thequalityUpdateReleasefield 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 release date to identify a quality update.”
- Parameters:
qualityUpdateRelease- new value ofqualityUpdateReleasefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thequalityUpdateReleasefield changed
-
withUnmappedField
public ExpeditedWindowsQualityUpdateSettings withUnmappedField(String name, String 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 ExpeditedWindowsQualityUpdateSettings.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
-
-