Class Windows10AppsForceUpdateSchedule
- java.lang.Object
-
- odata.msgraph.client.beta.complex.Windows10AppsForceUpdateSchedule
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class Windows10AppsForceUpdateSchedule extends Object implements com.github.davidmoten.odata.client.ODataType
“Windows 10 force update schedule for Apps”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindows10AppsForceUpdateSchedule.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected Windows10AppsUpdateRecurrencerecurrenceprotected BooleanrunImmediatelyIfAfterStartDateTimeprotected OffsetDateTimestartDateTimeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindows10AppsForceUpdateSchedule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Windows10AppsForceUpdateSchedule.Builderbuilder()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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()Windows10AppsForceUpdateSchedulewithRecurrence(Windows10AppsUpdateRecurrence recurrence)Returns an immutable copy ofthiswith just therecurrencefield changed.Windows10AppsForceUpdateSchedulewithRunImmediatelyIfAfterStartDateTime(Boolean runImmediatelyIfAfterStartDateTime)Returns an immutable copy ofthiswith just therunImmediatelyIfAfterStartDateTimefield changed.Windows10AppsForceUpdateSchedulewithStartDateTime(OffsetDateTime startDateTime)Returns an immutable copy ofthiswith just thestartDateTimefield changed.Windows10AppsForceUpdateSchedulewithUnmappedField(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
-
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
-
getRecurrence
public Optional<Windows10AppsUpdateRecurrence> getRecurrence()
“Recurrence schedule.”- Returns:
- property recurrence
-
withRecurrence
public Windows10AppsForceUpdateSchedule 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 Windows10AppsForceUpdateSchedule 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 Windows10AppsForceUpdateSchedule 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 Windows10AppsForceUpdateSchedule 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 Windows10AppsForceUpdateSchedule.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
-
-