public class DeviceHealthScriptIntegerParameter extends DeviceHealthScriptParameter implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceHealthScriptIntegerParameter.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
defaultValue |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
applyDefaultValueWhenNotAssigned, contextPath, description, isRequired, name, odataType| Modifier | Constructor and Description |
|---|---|
protected |
DeviceHealthScriptIntegerParameter() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceHealthScriptIntegerParameter.Builder |
builderDeviceHealthScriptIntegerParameter()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Integer> |
getDefaultValue()
“The default value of Integer param.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceHealthScriptIntegerParameter |
withDefaultValue(Integer defaultValue)
Returns an immutable copy of
this with just the defaultValue
field changed. |
getApplyDefaultValueWhenNotAssigned, getDescription, getIsRequired, getName, withApplyDefaultValueWhenNotAssigned, withDescription, withIsRequired, withNameprotected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected Integer defaultValue
protected DeviceHealthScriptIntegerParameter()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceHealthScriptParameterpublic Optional<Integer> getDefaultValue()
public DeviceHealthScriptIntegerParameter withDefaultValue(Integer defaultValue)
this with just the defaultValue
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 default value of Integer param. Valid values -2147483648 to 2147483647”
defaultValue - new value of defaultValue field (as defined in service metadata)this with just the defaultValue field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceHealthScriptParameterpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceHealthScriptParameterpublic static DeviceHealthScriptIntegerParameter.Builder builderDeviceHealthScriptIntegerParameter()
public String toString()
toString in class DeviceHealthScriptParameterCopyright © 2018–2020. All rights reserved.