public class WindowsKioskForceUpdateSchedule extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
WindowsKioskForceUpdateSchedule.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected Integer |
dayofMonth |
protected DayOfWeek |
dayofWeek |
protected String |
odataType |
protected Windows10AppsUpdateRecurrence |
recurrence |
protected Boolean |
runImmediatelyIfAfterStartDateTime |
protected OffsetDateTime |
startDateTime |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
WindowsKioskForceUpdateSchedule() |
| Modifier and Type | Method and Description |
|---|---|
static WindowsKioskForceUpdateSchedule.Builder |
builder()
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.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
WindowsKioskForceUpdateSchedule |
withDayofMonth(Integer dayofMonth)
Returns an immutable copy of
this with just the dayofMonth field
changed. |
WindowsKioskForceUpdateSchedule |
withDayofWeek(DayOfWeek dayofWeek)
Returns an immutable copy of
this with just the dayofWeek field
changed. |
WindowsKioskForceUpdateSchedule |
withRecurrence(Windows10AppsUpdateRecurrence recurrence)
Returns an immutable copy of
this with just the recurrence field
changed. |
WindowsKioskForceUpdateSchedule |
withRunImmediatelyIfAfterStartDateTime(Boolean runImmediatelyIfAfterStartDateTime)
Returns an immutable copy of
this with just the runImmediatelyIfAfterStartDateTime field changed. |
WindowsKioskForceUpdateSchedule |
withStartDateTime(OffsetDateTime startDateTime)
Returns an immutable copy of
this with just the startDateTime
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected OffsetDateTime startDateTime
protected Windows10AppsUpdateRecurrence recurrence
protected DayOfWeek dayofWeek
protected Integer dayofMonth
protected Boolean runImmediatelyIfAfterStartDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<OffsetDateTime> getStartDateTime()
public WindowsKioskForceUpdateSchedule withStartDateTime(OffsetDateTime startDateTime)
this with just the startDateTime
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The start time for the force restart.”
startDateTime - new value of startDateTime field (as defined in service metadata)this with just the startDateTime field changedpublic Optional<Windows10AppsUpdateRecurrence> getRecurrence()
public WindowsKioskForceUpdateSchedule withRecurrence(Windows10AppsUpdateRecurrence recurrence)
this with just the recurrence field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Recurrence schedule.”
recurrence - new value of recurrence field (as defined in service metadata)this with just the recurrence field changedpublic WindowsKioskForceUpdateSchedule withDayofWeek(DayOfWeek dayofWeek)
this with just the dayofWeek field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Day of week.”
dayofWeek - new value of dayofWeek field (as defined in service metadata)this with just the dayofWeek field changedpublic Optional<Integer> getDayofMonth()
public WindowsKioskForceUpdateSchedule withDayofMonth(Integer dayofMonth)
this with just the dayofMonth field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Day of month. Valid values 1 to 31”
dayofMonth - new value of dayofMonth field (as defined in service metadata)this with just the dayofMonth field changedpublic Optional<Boolean> getRunImmediatelyIfAfterStartDateTime()
public WindowsKioskForceUpdateSchedule withRunImmediatelyIfAfterStartDateTime(Boolean runImmediatelyIfAfterStartDateTime)
this with just the runImmediatelyIfAfterStartDateTime field changed. Field description below. The
field name is also added to an internal map of changed fields in the returned
object so that when this.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.”
runImmediatelyIfAfterStartDateTime - new value of runImmediatelyIfAfterStartDateTime field (as defined in service metadata)this with just the runImmediatelyIfAfterStartDateTime field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static WindowsKioskForceUpdateSchedule.Builder builder()
Copyright © 2018–2020. All rights reserved.