public class DeviceHealthScriptBooleanParameter extends DeviceHealthScriptParameter implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceHealthScriptBooleanParameter.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
defaultValue |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
applyDefaultValueWhenNotAssigned, contextPath, description, isRequired, name, odataType| Modifier | Constructor and Description |
|---|---|
protected |
DeviceHealthScriptBooleanParameter() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceHealthScriptBooleanParameter.Builder |
builderDeviceHealthScriptBooleanParameter()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Boolean> |
getDefaultValue()
“The default value of boolean param”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceHealthScriptBooleanParameter |
withDefaultValue(Boolean 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 Boolean defaultValue
protected DeviceHealthScriptBooleanParameter()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceHealthScriptParameterpublic Optional<Boolean> getDefaultValue()
public DeviceHealthScriptBooleanParameter withDefaultValue(Boolean 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 boolean param”
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 DeviceHealthScriptBooleanParameter.Builder builderDeviceHealthScriptBooleanParameter()
public String toString()
toString in class DeviceHealthScriptParameterCopyright © 2018–2020. All rights reserved.