public class DeviceHealthScriptRunOnceSchedule extends DeviceHealthScriptTimeSchedule implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceHealthScriptRunOnceSchedule.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected LocalDate |
date |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
time, useUtccontextPath, interval, odataType| Modifier | Constructor and Description |
|---|---|
protected |
DeviceHealthScriptRunOnceSchedule() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceHealthScriptRunOnceSchedule.Builder |
builderDeviceHealthScriptRunOnceSchedule()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<LocalDate> |
getDate()
“The date the script is scheduled to run.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceHealthScriptRunOnceSchedule |
withDate(LocalDate date)
Returns an immutable copy of
this with just the date field
changed. |
getTime, getUseUtc, withTime, withUseUtcgetInterval, withIntervalprotected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected LocalDate date
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceHealthScriptTimeSchedulepublic Optional<LocalDate> getDate()
public DeviceHealthScriptRunOnceSchedule withDate(LocalDate date)
this with just the date 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 date the script is scheduled to run. This collection can contain a maximum of 20 elements.”
date - new value of date field (as defined in service metadata)this with just the date field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceHealthScriptTimeSchedulepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceHealthScriptTimeSchedulepublic static DeviceHealthScriptRunOnceSchedule.Builder builderDeviceHealthScriptRunOnceSchedule()
public String toString()
toString in class DeviceHealthScriptTimeScheduleCopyright © 2018–2020. All rights reserved.