Class WindowsKioskForceUpdateSchedule
- java.lang.Object
-
- odata.msgraph.client.beta.complex.WindowsKioskForceUpdateSchedule
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class WindowsKioskForceUpdateSchedule extends Object implements com.github.davidmoten.odata.client.ODataType
“Windows 10 force update schedule for Kiosk devices.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsKioskForceUpdateSchedule.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegerdayofMonthprotected DayOfWeekdayofWeekprotected StringodataTypeprotected Windows10AppsUpdateRecurrencerecurrenceprotected BooleanrunImmediatelyIfAfterStartDateTimeprotected OffsetDateTimestartDateTimeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsKioskForceUpdateSchedule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsKioskForceUpdateSchedule.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getDayofMonth()“Day of month.Optional<DayOfWeek>getDayofWeek()“Day of week.”Optional<Windows10AppsUpdateRecurrence>getRecurrence()“Recurrence schedule.”Optional<Boolean>getRunImmediatelyIfAfterStartDateTime()“If true, runs the task immediately if StartDateTime is in the past, else, runs at the next recurrence.”Optional<OffsetDateTime>getStartDateTime()“The start time for the force restart.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()WindowsKioskForceUpdateSchedulewithDayofMonth(Integer dayofMonth)Returns an immutable copy ofthiswith just thedayofMonthfield changed.WindowsKioskForceUpdateSchedulewithDayofWeek(DayOfWeek dayofWeek)Returns an immutable copy ofthiswith just thedayofWeekfield changed.WindowsKioskForceUpdateSchedulewithRecurrence(Windows10AppsUpdateRecurrence recurrence)Returns an immutable copy ofthiswith just therecurrencefield changed.WindowsKioskForceUpdateSchedulewithRunImmediatelyIfAfterStartDateTime(Boolean runImmediatelyIfAfterStartDateTime)Returns an immutable copy ofthiswith just therunImmediatelyIfAfterStartDateTimefield changed.WindowsKioskForceUpdateSchedulewithStartDateTime(OffsetDateTime startDateTime)Returns an immutable copy ofthiswith just thestartDateTimefield changed.WindowsKioskForceUpdateSchedulewithUnmappedField(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
-
dayofMonth
protected Integer dayofMonth
-
dayofWeek
protected DayOfWeek dayofWeek
-
recurrence
protected Windows10AppsUpdateRecurrence recurrence
-
runImmediatelyIfAfterStartDateTime
protected Boolean runImmediatelyIfAfterStartDateTime
-
startDateTime
protected OffsetDateTime startDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDayofMonth
public Optional<Integer> getDayofMonth()
“Day of month. Valid values 1 to 31”- Returns:
- property dayofMonth
-
withDayofMonth
public WindowsKioskForceUpdateSchedule withDayofMonth(Integer dayofMonth)
Returns an immutable copy ofthiswith just thedayofMonthfield 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.“Day of month. Valid values 1 to 31”
- Parameters:
dayofMonth- new value ofdayofMonthfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedayofMonthfield changed
-
withDayofWeek
public WindowsKioskForceUpdateSchedule withDayofWeek(DayOfWeek dayofWeek)
Returns an immutable copy ofthiswith just thedayofWeekfield 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.“Day of week.”
- Parameters:
dayofWeek- new value ofdayofWeekfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedayofWeekfield changed
-
getRecurrence
public Optional<Windows10AppsUpdateRecurrence> getRecurrence()
“Recurrence schedule.”- Returns:
- property recurrence
-
withRecurrence
public WindowsKioskForceUpdateSchedule withRecurrence(Windows10AppsUpdateRecurrence recurrence)
Returns an immutable copy ofthiswith just therecurrencefield 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.“Recurrence schedule.”
- Parameters:
recurrence- new value ofrecurrencefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therecurrencefield changed
-
getRunImmediatelyIfAfterStartDateTime
public Optional<Boolean> getRunImmediatelyIfAfterStartDateTime()
“If true, runs the task immediately if StartDateTime is in the past, else, runs at the next recurrence.”- Returns:
- property runImmediatelyIfAfterStartDateTime
-
withRunImmediatelyIfAfterStartDateTime
public WindowsKioskForceUpdateSchedule withRunImmediatelyIfAfterStartDateTime(Boolean runImmediatelyIfAfterStartDateTime)
Returns an immutable copy ofthiswith just therunImmediatelyIfAfterStartDateTimefield 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.“If true, runs the task immediately if StartDateTime is in the past, else, runs at the next recurrence.”
- Parameters:
runImmediatelyIfAfterStartDateTime- new value ofrunImmediatelyIfAfterStartDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therunImmediatelyIfAfterStartDateTimefield changed
-
getStartDateTime
public Optional<OffsetDateTime> getStartDateTime()
“The start time for the force restart.”- Returns:
- property startDateTime
-
withStartDateTime
public WindowsKioskForceUpdateSchedule withStartDateTime(OffsetDateTime startDateTime)
Returns an immutable copy ofthiswith just thestartDateTimefield 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 start time for the force restart.”
- Parameters:
startDateTime- new value ofstartDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestartDateTimefield changed
-
withUnmappedField
public WindowsKioskForceUpdateSchedule 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 WindowsKioskForceUpdateSchedule.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
-
-