Package odata.msgraph.client.complex
Class WindowsUpdateScheduledInstall
- java.lang.Object
-
- odata.msgraph.client.complex.WindowsUpdateInstallScheduleType
-
- odata.msgraph.client.complex.WindowsUpdateScheduledInstall
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class WindowsUpdateScheduledInstall extends WindowsUpdateInstallScheduleType implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsUpdateScheduledInstall.Builder
-
Field Summary
Fields Modifier and Type Field Description protected WeeklySchedulescheduledInstallDayprotected LocalTimescheduledInstallTime-
Fields inherited from class odata.msgraph.client.complex.WindowsUpdateInstallScheduleType
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsUpdateScheduledInstall()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsUpdateScheduledInstall.BuilderbuilderWindowsUpdateScheduledInstall()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<WeeklySchedule>getScheduledInstallDay()“Scheduled Install Day in week”Optional<LocalTime>getScheduledInstallTime()“Scheduled Install Time during day”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()WindowsUpdateScheduledInstallwithScheduledInstallDay(WeeklySchedule scheduledInstallDay)Returns an immutable copy ofthiswith just thescheduledInstallDayfield changed.WindowsUpdateScheduledInstallwithScheduledInstallTime(LocalTime scheduledInstallTime)Returns an immutable copy ofthiswith just thescheduledInstallTimefield changed.WindowsUpdateScheduledInstallwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
scheduledInstallDay
protected WeeklySchedule scheduledInstallDay
-
scheduledInstallTime
protected LocalTime scheduledInstallTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classWindowsUpdateInstallScheduleType
-
getScheduledInstallDay
public Optional<WeeklySchedule> getScheduledInstallDay()
“Scheduled Install Day in week”- Returns:
- property scheduledInstallDay
-
withScheduledInstallDay
public WindowsUpdateScheduledInstall withScheduledInstallDay(WeeklySchedule scheduledInstallDay)
Returns an immutable copy ofthiswith just thescheduledInstallDayfield 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.“Scheduled Install Day in week”
- Parameters:
scheduledInstallDay- new value ofscheduledInstallDayfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thescheduledInstallDayfield changed
-
getScheduledInstallTime
public Optional<LocalTime> getScheduledInstallTime()
“Scheduled Install Time during day”- Returns:
- property scheduledInstallTime
-
withScheduledInstallTime
public WindowsUpdateScheduledInstall withScheduledInstallTime(LocalTime scheduledInstallTime)
Returns an immutable copy ofthiswith just thescheduledInstallTimefield 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.“Scheduled Install Time during day”
- Parameters:
scheduledInstallTime- new value ofscheduledInstallTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thescheduledInstallTimefield changed
-
withUnmappedField
public WindowsUpdateScheduledInstall withUnmappedField(String name, Object 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
-
builderWindowsUpdateScheduledInstall
public static WindowsUpdateScheduledInstall.Builder builderWindowsUpdateScheduledInstall()
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
-
-