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