public class DeviceHealthScriptTimeSchedule extends DeviceHealthScriptRunSchedule implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Field and Description |
|---|---|
protected LocalTime |
time |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
protected Boolean |
useUtc |
contextPath, interval, odataType| Modifier | Constructor and Description |
|---|---|
protected |
DeviceHealthScriptTimeSchedule() |
| Modifier and Type | Method and Description |
|---|---|
Optional<LocalTime> |
getTime()
“At what time the script is scheduled to run.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<Boolean> |
getUseUtc()
“Indicate if the time is Utc or client local time.”
|
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceHealthScriptTimeSchedule |
withTime(LocalTime time)
Returns an immutable copy of
this with just the time field
changed. |
DeviceHealthScriptTimeSchedule |
withUseUtc(Boolean useUtc)
Returns an immutable copy of
this with just the useUtc field
changed. |
getInterval, withIntervalprotected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected Boolean useUtc
protected LocalTime time
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceHealthScriptRunSchedulepublic Optional<Boolean> getUseUtc()
public DeviceHealthScriptTimeSchedule withUseUtc(Boolean useUtc)
this with just the useUtc 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.
“Indicate if the time is Utc or client local time.”
useUtc - new value of useUtc field (as defined in service metadata)this with just the useUtc field changedpublic Optional<LocalTime> getTime()
public DeviceHealthScriptTimeSchedule withTime(LocalTime time)
this with just the time 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.
“At what time the script is scheduled to run. This collection can contain a maximum of 20 elements.”
time - new value of time field (as defined in service metadata)this with just the time field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceHealthScriptRunSchedulepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceHealthScriptRunSchedulepublic String toString()
toString in class DeviceHealthScriptRunScheduleCopyright © 2018–2020. All rights reserved.