public class Windows10AppsForceUpdateSchedule extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
Windows10AppsForceUpdateSchedule.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
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 |
Windows10AppsForceUpdateSchedule() |
| Modifier and Type | Method and Description |
|---|---|
static Windows10AppsForceUpdateSchedule.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
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() |
Windows10AppsForceUpdateSchedule |
withRecurrence(Windows10AppsUpdateRecurrence recurrence)
Returns an immutable copy of
this with just the recurrence field
changed. |
Windows10AppsForceUpdateSchedule |
withRunImmediatelyIfAfterStartDateTime(Boolean runImmediatelyIfAfterStartDateTime)
Returns an immutable copy of
this with just the runImmediatelyIfAfterStartDateTime field changed. |
Windows10AppsForceUpdateSchedule |
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 Boolean runImmediatelyIfAfterStartDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<OffsetDateTime> getStartDateTime()
public Windows10AppsForceUpdateSchedule 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 Windows10AppsForceUpdateSchedule 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 Optional<Boolean> getRunImmediatelyIfAfterStartDateTime()
public Windows10AppsForceUpdateSchedule 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 Windows10AppsForceUpdateSchedule.Builder builder()
Copyright © 2018–2020. All rights reserved.