Package odata.msgraph.client.complex
Class WindowsUpdateActiveHoursInstall
- java.lang.Object
-
- odata.msgraph.client.complex.WindowsUpdateInstallScheduleType
-
- odata.msgraph.client.complex.WindowsUpdateActiveHoursInstall
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class WindowsUpdateActiveHoursInstall extends WindowsUpdateInstallScheduleType implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsUpdateActiveHoursInstall.Builder
-
Field Summary
Fields Modifier and Type Field Description protected LocalTimeactiveHoursEndprotected LocalTimeactiveHoursStart-
Fields inherited from class odata.msgraph.client.complex.WindowsUpdateInstallScheduleType
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsUpdateActiveHoursInstall()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsUpdateActiveHoursInstall.BuilderbuilderWindowsUpdateActiveHoursInstall()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<LocalTime>getActiveHoursEnd()“Active Hours End”Optional<LocalTime>getActiveHoursStart()“Active Hours Start”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()WindowsUpdateActiveHoursInstallwithActiveHoursEnd(LocalTime activeHoursEnd)Returns an immutable copy ofthiswith just theactiveHoursEndfield changed.WindowsUpdateActiveHoursInstallwithActiveHoursStart(LocalTime activeHoursStart)Returns an immutable copy ofthiswith just theactiveHoursStartfield changed.WindowsUpdateActiveHoursInstallwithUnmappedField(String name, String value)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classWindowsUpdateInstallScheduleType
-
getActiveHoursEnd
public Optional<LocalTime> getActiveHoursEnd()
“Active Hours End”- Returns:
- property activeHoursEnd
-
withActiveHoursEnd
public WindowsUpdateActiveHoursInstall withActiveHoursEnd(LocalTime activeHoursEnd)
Returns an immutable copy ofthiswith just theactiveHoursEndfield 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.“Active Hours End”
- Parameters:
activeHoursEnd- new value ofactiveHoursEndfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theactiveHoursEndfield changed
-
getActiveHoursStart
public Optional<LocalTime> getActiveHoursStart()
“Active Hours Start”- Returns:
- property activeHoursStart
-
withActiveHoursStart
public WindowsUpdateActiveHoursInstall withActiveHoursStart(LocalTime activeHoursStart)
Returns an immutable copy ofthiswith just theactiveHoursStartfield 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.“Active Hours Start”
- Parameters:
activeHoursStart- new value ofactiveHoursStartfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theactiveHoursStartfield changed
-
withUnmappedField
public WindowsUpdateActiveHoursInstall withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classWindowsUpdateInstallScheduleType
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classWindowsUpdateInstallScheduleType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classWindowsUpdateInstallScheduleType
-
builderWindowsUpdateActiveHoursInstall
public static WindowsUpdateActiveHoursInstall.Builder builderWindowsUpdateActiveHoursInstall()
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
-
toString
public String toString()
- Overrides:
toStringin classWindowsUpdateInstallScheduleType
-
-