Class GroupPolicyPresentationLongDecimalTextBox

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

    public class GroupPolicyPresentationLongDecimalTextBox
    extends GroupPolicyPresentation
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Represents an ADMX longDecimalTextBox element and an ADMX longDecimal element.”
    • Field Detail

      • defaultValue

        protected Long defaultValue
      • maxValue

        protected Long maxValue
      • minValue

        protected Long minValue
      • required

        protected Boolean required
      • spinStep

        protected Long spinStep
    • Constructor Detail

      • GroupPolicyPresentationLongDecimalTextBox

        protected GroupPolicyPresentationLongDecimalTextBox()
    • Method Detail

      • builderGroupPolicyPresentationLongDecimalTextBox

        public static GroupPolicyPresentationLongDecimalTextBox.Builder builderGroupPolicyPresentationLongDecimalTextBox()
        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
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class GroupPolicyPresentation
      • postInject

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

        public Optional<Long> getDefaultValue()
        “An unsigned integer that specifies the initial value for the decimal text box. The default value is 1.”
        Returns:
        property defaultValue
      • withDefaultValue

        public GroupPolicyPresentationLongDecimalTextBox withDefaultValue​(Long 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.

        “An unsigned integer that specifies the initial value for the decimal text box. The default value is 1.”

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

        public Optional<Long> getMaxValue()
        “An unsigned long that specifies the maximum allowed value. The default value is 9999.”
        Returns:
        property maxValue
      • withMaxValue

        public GroupPolicyPresentationLongDecimalTextBox withMaxValue​(Long maxValue)
        Returns an immutable copy of this with just the maxValue 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.

        “An unsigned long that specifies the maximum allowed value. The default value is 9999.”

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

        public Optional<Long> getMinValue()
        “An unsigned long that specifies the minimum allowed value. The default value is 0.”
        Returns:
        property minValue
      • withMinValue

        public GroupPolicyPresentationLongDecimalTextBox withMinValue​(Long minValue)
        Returns an immutable copy of this with just the minValue 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.

        “An unsigned long that specifies the minimum allowed value. The default value is 0.”

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

        public Optional<Boolean> getRequired()
        “Requirement to enter a value in the parameter box. The default value is false.”
        Returns:
        property required
      • withRequired

        public GroupPolicyPresentationLongDecimalTextBox withRequired​(Boolean required)
        Returns an immutable copy of this with just the required 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.

        “Requirement to enter a value in the parameter box. The default value is false.”

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

        public Optional<Boolean> getSpin()
        “If true, create a spin control; otherwise, create a text box for numeric entry. The default value is true.”
        Returns:
        property spin
      • withSpin

        public GroupPolicyPresentationLongDecimalTextBox withSpin​(Boolean spin)
        Returns an immutable copy of this with just the spin 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.

        “If true, create a spin control; otherwise, create a text box for numeric entry. The default value is true.”

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

        public Optional<Long> getSpinStep()
        “An unsigned integer that specifies the increment of change for the spin control. The default value is 1.”
        Returns:
        property spinStep
      • withSpinStep

        public GroupPolicyPresentationLongDecimalTextBox withSpinStep​(Long spinStep)
        Returns an immutable copy of this with just the spinStep 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.

        “An unsigned integer that specifies the increment of change for the spin control. The default value is 1.”

        Parameters:
        spinStep - new value of spinStep field (as defined in service metadata)
        Returns:
        immutable copy of this with just the spinStep 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 GroupPolicyPresentation
      • patch

        public GroupPolicyPresentationLongDecimalTextBox patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class GroupPolicyPresentation
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public GroupPolicyPresentationLongDecimalTextBox put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class GroupPolicyPresentation
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected