public class DeviceComplianceScriptRule extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceComplianceScriptRule.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected DataType |
dataType |
protected String |
odataType |
protected String |
operand |
protected Operator |
operator |
protected String |
settingName |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
DeviceComplianceScriptRule() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceComplianceScriptRule.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<DataType> |
getDataType()
“Data type specified in the rule.”
|
Optional<String> |
getOperand()
“Operand specified in the rule.”
|
Optional<Operator> |
getOperator()
“Operator specified in the rule.”
|
Optional<String> |
getSettingName()
“Setting name specified in the rule.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
DeviceComplianceScriptRule |
withDataType(DataType dataType)
Returns an immutable copy of
this with just the dataType field
changed. |
DeviceComplianceScriptRule |
withOperand(String operand)
Returns an immutable copy of
this with just the operand field
changed. |
DeviceComplianceScriptRule |
withOperator(Operator operator)
Returns an immutable copy of
this with just the operator field
changed. |
DeviceComplianceScriptRule |
withSettingName(String settingName)
Returns an immutable copy of
this with just the settingName
field changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String settingName
protected Operator operator
protected DataType dataType
protected String operand
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getSettingName()
public DeviceComplianceScriptRule 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 specified in the rule.”
settingName - new value of settingName field (as defined in service metadata)this with just the settingName field changedpublic Optional<Operator> getOperator()
public DeviceComplianceScriptRule withOperator(Operator operator)
this with just the operator 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.
“Operator specified in the rule.”
operator - new value of operator field (as defined in service metadata)this with just the operator field changedpublic Optional<DataType> getDataType()
public DeviceComplianceScriptRule withDataType(DataType dataType)
this with just the dataType 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.
“Data type specified in the rule.”
dataType - new value of dataType field (as defined in service metadata)this with just the dataType field changedpublic Optional<String> getOperand()
public DeviceComplianceScriptRule withOperand(String operand)
this with just the operand 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.
“Operand specified in the rule.”
operand - new value of operand field (as defined in service metadata)this with just the operand 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 DeviceComplianceScriptRule.Builder builder()
Copyright © 2018–2020. All rights reserved.