public class DeviceComplianceScriptError extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceComplianceScriptError.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Code |
code |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
message |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DeviceComplianceScriptError() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceComplianceScriptError.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Code> |
getCode()
“Error code.”
|
Optional<String> |
getMessage()
“Error message.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceComplianceScriptError |
withCode(Code code)
Returns an immutable copy of
this with just the code field
changed. |
DeviceComplianceScriptError |
withMessage(String message)
Returns an immutable copy of
this with just the message field
changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected Code code
protected String message
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic DeviceComplianceScriptError withCode(Code code)
this with just the code 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.
“Error code.”
code - new value of code field (as defined in service metadata)this with just the code field changedpublic DeviceComplianceScriptError withMessage(String message)
this with just the message 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.
“Error message.”
message - new value of message field (as defined in service metadata)this with just the message 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.ODataTypepublic static DeviceComplianceScriptError.Builder builder()
Copyright © 2018–2020. All rights reserved.