Class DeviceHealthScriptRunSchedule
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceHealthScriptRunSchedule
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
DeviceHealthScriptHourlySchedule,DeviceHealthScriptTimeSchedule
public class DeviceHealthScriptRunSchedule extends Object implements com.github.davidmoten.odata.client.ODataType
“Base type of Device health script run schedule.”
-
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Integerintervalprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceHealthScriptRunSchedule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Integer>getInterval()“The x value of every x hours for hourly schedule, every x days for Daily Schedule, every x weeks for weekly schedule, every x months for Monthly Schedule .com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceHealthScriptRunSchedulewithInterval(Integer interval)Returns an immutable copy ofthiswith just theintervalfield changed.DeviceHealthScriptRunSchedulewithUnmappedField(String name, String value)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getInterval
public Optional<Integer> getInterval()
“The x value of every x hours for hourly schedule, every x days for Daily Schedule, every x weeks for weekly schedule, every x months for Monthly Schedule . Valid values 1 to 23”- Returns:
- property interval
-
withInterval
public DeviceHealthScriptRunSchedule withInterval(Integer interval)
Returns an immutable copy ofthiswith just theintervalfield 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 x value of every x hours for hourly schedule, every x days for Daily Schedule, every x weeks for weekly schedule, every x months for Monthly Schedule . Valid values 1 to 23”
- Parameters:
interval- new value ofintervalfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theintervalfield changed
-
withUnmappedField
public DeviceHealthScriptRunSchedule 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
-
-