Class DeviceComplianceScriptRule

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class DeviceComplianceScriptRule
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • operand

        protected String operand
      • settingName

        protected String settingName
    • Constructor Detail

      • DeviceComplianceScriptRule

        protected DeviceComplianceScriptRule()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getDataType

        public Optional<DataType> getDataType()
        “Data type specified in the rule.”
        Returns:
        property dataType
      • withDataType

        public DeviceComplianceScriptRule withDataType​(DataType dataType)
        Returns an immutable copy of 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.”

        Parameters:
        dataType - new value of dataType field (as defined in service metadata)
        Returns:
        immutable copy of this with just the dataType field changed
      • getDeviceComplianceScriptRuleDataType

        public Optional<DeviceComplianceScriptRuleDataType> getDeviceComplianceScriptRuleDataType()
        “Data type specified in the rule.”
        Returns:
        property deviceComplianceScriptRuleDataType
      • withDeviceComplianceScriptRuleDataType

        public DeviceComplianceScriptRule withDeviceComplianceScriptRuleDataType​(DeviceComplianceScriptRuleDataType deviceComplianceScriptRuleDataType)
        Returns an immutable copy of this with just the deviceComplianceScriptRuleDataType 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.”

        Parameters:
        deviceComplianceScriptRuleDataType - new value of deviceComplianceScriptRuleDataType field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceComplianceScriptRuleDataType field changed
      • getDeviceComplianceScriptRulOperator

        public Optional<DeviceComplianceScriptRulOperator> getDeviceComplianceScriptRulOperator()
        “Operator specified in the rule.”
        Returns:
        property deviceComplianceScriptRulOperator
      • withDeviceComplianceScriptRulOperator

        public DeviceComplianceScriptRule withDeviceComplianceScriptRulOperator​(DeviceComplianceScriptRulOperator deviceComplianceScriptRulOperator)
        Returns an immutable copy of this with just the deviceComplianceScriptRulOperator 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.”

        Parameters:
        deviceComplianceScriptRulOperator - new value of deviceComplianceScriptRulOperator field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceComplianceScriptRulOperator field changed
      • getOperand

        public Optional<String> getOperand()
        “Operand specified in the rule.”
        Returns:
        property operand
      • withOperand

        public DeviceComplianceScriptRule withOperand​(String operand)
        Returns an immutable copy of 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.”

        Parameters:
        operand - new value of operand field (as defined in service metadata)
        Returns:
        immutable copy of this with just the operand field changed
      • getOperator

        public Optional<Operator> getOperator()
        “Operator specified in the rule.”
        Returns:
        property operator
      • withOperator

        public DeviceComplianceScriptRule withOperator​(Operator operator)
        Returns an immutable copy of 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.”

        Parameters:
        operator - new value of operator field (as defined in service metadata)
        Returns:
        immutable copy of this with just the operator field changed
      • getSettingName

        public Optional<String> getSettingName()
        “Setting name specified in the rule.”
        Returns:
        property settingName
      • withSettingName

        public DeviceComplianceScriptRule withSettingName​(String settingName)
        Returns an immutable copy of 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.”

        Parameters:
        settingName - new value of settingName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the settingName field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
      • builder

        public static DeviceComplianceScriptRule.Builder builder()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class