public class DeviceComplianceScriptRuleError extends DeviceComplianceScriptError implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceComplianceScriptRuleError.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
settingName |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
code, contextPath, message, odataType| Modifier | Constructor and Description |
|---|---|
protected |
DeviceComplianceScriptRuleError() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceComplianceScriptRuleError.Builder |
builderDeviceComplianceScriptRuleError()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getSettingName()
“Setting name for the rule with error.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceComplianceScriptRuleError |
withSettingName(String settingName)
Returns an immutable copy of
this with just the settingName
field changed. |
builder, getCode, getMessage, withCode, withMessageprotected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String settingName
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceComplianceScriptErrorpublic Optional<String> getSettingName()
public DeviceComplianceScriptRuleError withSettingName(String settingName)
this with just the settingName
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.
“Setting name for the rule with error.”
settingName - new value of settingName field (as defined in service metadata)this with just the settingName field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceComplianceScriptErrorpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceComplianceScriptErrorpublic static DeviceComplianceScriptRuleError.Builder builderDeviceComplianceScriptRuleError()
public String toString()
toString in class DeviceComplianceScriptErrorCopyright © 2018–2020. All rights reserved.