public class GroupPolicyPresentationDecimalTextBox extends GroupPolicyPresentation implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupPolicyPresentationDecimalTextBox.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Long |
defaultValue |
protected Long |
maxValue |
protected Long |
minValue |
protected Boolean |
required |
protected Boolean |
spin |
protected Long |
spinStep |
label, lastModifiedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
GroupPolicyPresentationDecimalTextBox() |
| Modifier and Type | Method and Description |
|---|---|
static GroupPolicyPresentationDecimalTextBox.Builder |
builderGroupPolicyPresentationDecimalTextBox()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Long> |
getDefaultValue()
“An unsigned integer that specifies the initial value for the decimal text box.
|
Optional<Long> |
getMaxValue()
“An unsigned integer that specifies the maximum allowed value.
|
Optional<Long> |
getMinValue()
“An unsigned integer that specifies the minimum allowed value.
|
Optional<Boolean> |
getRequired()
“Requirement to enter a value in the parameter box.
|
Optional<Boolean> |
getSpin()
“If true, create a spin control; otherwise, create a text box for numeric entry.
|
Optional<Long> |
getSpinStep()
“An unsigned integer that specifies the increment of change for the spin control.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
GroupPolicyPresentationDecimalTextBox |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
GroupPolicyPresentationDecimalTextBox |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
GroupPolicyPresentationDecimalTextBox |
withDefaultValue(Long defaultValue)
Returns an immutable copy of
this with just the defaultValue
field changed. |
GroupPolicyPresentationDecimalTextBox |
withMaxValue(Long maxValue)
Returns an immutable copy of
this with just the maxValue field
changed. |
GroupPolicyPresentationDecimalTextBox |
withMinValue(Long minValue)
Returns an immutable copy of
this with just the minValue field
changed. |
GroupPolicyPresentationDecimalTextBox |
withRequired(Boolean required)
Returns an immutable copy of
this with just the required field
changed. |
GroupPolicyPresentationDecimalTextBox |
withSpin(Boolean spin)
Returns an immutable copy of
this with just the spin field
changed. |
GroupPolicyPresentationDecimalTextBox |
withSpinStep(Long spinStep)
Returns an immutable copy of
this with just the spinStep field
changed. |
builderGroupPolicyPresentation, getDefinition, getLabel, getLastModifiedDateTime, withLabel, withLastModifiedDateTimeprotected Long defaultValue
protected Boolean spin
protected Long spinStep
protected Boolean required
protected Long minValue
protected Long maxValue
protected GroupPolicyPresentationDecimalTextBox()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class GroupPolicyPresentationpublic static GroupPolicyPresentationDecimalTextBox.Builder builderGroupPolicyPresentationDecimalTextBox()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class GroupPolicyPresentationpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class GroupPolicyPresentationpublic Optional<Long> getDefaultValue()
public GroupPolicyPresentationDecimalTextBox withDefaultValue(Long defaultValue)
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.”
defaultValue - new value of defaultValue field (as defined in service metadata)this with just the defaultValue field changedpublic Optional<Boolean> getSpin()
public GroupPolicyPresentationDecimalTextBox withSpin(Boolean spin)
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.”
spin - new value of spin field (as defined in service metadata)this with just the spin field changedpublic Optional<Long> getSpinStep()
public GroupPolicyPresentationDecimalTextBox withSpinStep(Long spinStep)
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.”
spinStep - new value of spinStep field (as defined in service metadata)this with just the spinStep field changedpublic Optional<Boolean> getRequired()
public GroupPolicyPresentationDecimalTextBox withRequired(Boolean required)
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.”
required - new value of required field (as defined in service metadata)this with just the required field changedpublic Optional<Long> getMinValue()
public GroupPolicyPresentationDecimalTextBox withMinValue(Long minValue)
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 integer that specifies the minimum allowed value. The default value is 0.”
minValue - new value of minValue field (as defined in service metadata)this with just the minValue field changedpublic Optional<Long> getMaxValue()
public GroupPolicyPresentationDecimalTextBox withMaxValue(Long maxValue)
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 integer that specifies the maximum allowed value. The default value is 9999.”
maxValue - new value of maxValue field (as defined in service metadata)this with just the maxValue field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class GroupPolicyPresentationpublic GroupPolicyPresentationDecimalTextBox patch()
this with changed fields reset.patch in class GroupPolicyPresentationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic GroupPolicyPresentationDecimalTextBox put()
this
with changed fields reset (they were ignored anyway).put in class GroupPolicyPresentationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class GroupPolicyPresentationCopyright © 2018–2020. All rights reserved.