public class DeviceHealthScriptParameter extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
applyDefaultValueWhenNotAssigned |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
description |
protected Boolean |
isRequired |
protected String |
name |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DeviceHealthScriptParameter() |
| Modifier and Type | Method and Description |
|---|---|
Optional<Boolean> |
getApplyDefaultValueWhenNotAssigned()
“Whether Apply DefaultValue When Not Assigned”
|
Optional<String> |
getDescription()
“The description of the param”
|
Optional<Boolean> |
getIsRequired()
“Whether the param is required”
|
Optional<String> |
getName()
“The name of the param”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceHealthScriptParameter |
withApplyDefaultValueWhenNotAssigned(Boolean applyDefaultValueWhenNotAssigned)
Returns an immutable copy of
this with just the applyDefaultValueWhenNotAssigned field changed. |
DeviceHealthScriptParameter |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
DeviceHealthScriptParameter |
withIsRequired(Boolean isRequired)
Returns an immutable copy of
this with just the isRequired field
changed. |
DeviceHealthScriptParameter |
withName(String name)
Returns an immutable copy of
this with just the name field
changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String name
protected String description
protected Boolean isRequired
protected Boolean applyDefaultValueWhenNotAssigned
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic DeviceHealthScriptParameter withName(String name)
this with just the name 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 name of the param”
name - new value of name field (as defined in service metadata)this with just the name field changedpublic Optional<String> getDescription()
public DeviceHealthScriptParameter withDescription(String description)
this with just the description
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 description of the param”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<Boolean> getIsRequired()
public DeviceHealthScriptParameter withIsRequired(Boolean isRequired)
this with just the isRequired 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.
“Whether the param is required”
isRequired - new value of isRequired field (as defined in service metadata)this with just the isRequired field changedpublic Optional<Boolean> getApplyDefaultValueWhenNotAssigned()
public DeviceHealthScriptParameter withApplyDefaultValueWhenNotAssigned(Boolean applyDefaultValueWhenNotAssigned)
this with just the applyDefaultValueWhenNotAssigned 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.
“Whether Apply DefaultValue When Not Assigned”
applyDefaultValueWhenNotAssigned - new value of applyDefaultValueWhenNotAssigned field (as defined in service metadata)this with just the applyDefaultValueWhenNotAssigned field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypeCopyright © 2018–2020. All rights reserved.