Class DeviceHealthScriptIntegerParameter

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

    public class DeviceHealthScriptIntegerParameter
    extends DeviceHealthScriptParameter
    implements com.github.davidmoten.odata.client.ODataType
    “Properties of the Integer script parameter.”
    • Field Detail

      • defaultValue

        protected Integer defaultValue
    • Constructor Detail

      • DeviceHealthScriptIntegerParameter

        protected DeviceHealthScriptIntegerParameter()
    • Method Detail

      • getDefaultValue

        public Optional<Integer> getDefaultValue()
        “The default value of Integer param. Valid values -2147483648 to 2147483647”
        Returns:
        property defaultValue
      • withDefaultValue

        public DeviceHealthScriptIntegerParameter withDefaultValue​(Integer defaultValue)
        Returns an immutable copy of this with just the defaultValue 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 default value of Integer param. Valid values -2147483648 to 2147483647”

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

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

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

        public static DeviceHealthScriptIntegerParameter.Builder builderDeviceHealthScriptIntegerParameter()
        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