Package odata.msgraph.client.beta.entity
Class GroupPolicyPresentationLongDecimalTextBox
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.GroupPolicyPresentation
-
- odata.msgraph.client.beta.entity.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroupPolicyPresentationLongDecimalTextBox.Builder
-
Field Summary
Fields Modifier and Type Field Description protected LongdefaultValueprotected LongmaxValueprotected LongminValueprotected Booleanrequiredprotected Booleanspinprotected LongspinStep-
Fields inherited from class odata.msgraph.client.beta.entity.GroupPolicyPresentation
label, lastModifiedDateTime
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGroupPolicyPresentationLongDecimalTextBox()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GroupPolicyPresentationLongDecimalTextBox.BuilderbuilderGroupPolicyPresentationLongDecimalTextBox()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.ChangedFieldsgetChangedFields()Optional<Long>getDefaultValue()“An unsigned integer that specifies the initial value for the decimal text box.Optional<Long>getMaxValue()“An unsigned long that specifies the maximum allowed value.Optional<Long>getMinValue()“An unsigned long 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.UnmappedFieldsgetUnmappedFields()StringodataTypeName()GroupPolicyPresentationLongDecimalTextBoxpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)GroupPolicyPresentationLongDecimalTextBoxput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()GroupPolicyPresentationLongDecimalTextBoxwithDefaultValue(Long defaultValue)Returns an immutable copy ofthiswith just thedefaultValuefield changed.GroupPolicyPresentationLongDecimalTextBoxwithMaxValue(Long maxValue)Returns an immutable copy ofthiswith just themaxValuefield changed.GroupPolicyPresentationLongDecimalTextBoxwithMinValue(Long minValue)Returns an immutable copy ofthiswith just theminValuefield changed.GroupPolicyPresentationLongDecimalTextBoxwithRequired(Boolean required)Returns an immutable copy ofthiswith just therequiredfield changed.GroupPolicyPresentationLongDecimalTextBoxwithSpin(Boolean spin)Returns an immutable copy ofthiswith just thespinfield changed.GroupPolicyPresentationLongDecimalTextBoxwithSpinStep(Long spinStep)Returns an immutable copy ofthiswith just thespinStepfield changed.GroupPolicyPresentationLongDecimalTextBoxwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.GroupPolicyPresentation
builderGroupPolicyPresentation, getDefinition, getLabel, getLastModifiedDateTime, withLabel, withLastModifiedDateTime
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classGroupPolicyPresentation
-
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:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classGroupPolicyPresentation
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classGroupPolicyPresentation
-
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 ofthiswith just thedefaultValuefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofdefaultValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedefaultValuefield 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 ofthiswith just themaxValuefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofmaxValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themaxValuefield 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 ofthiswith just theminValuefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofminValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminValuefield 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 ofthiswith just therequiredfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofrequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therequiredfield 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 ofthiswith just thespinfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofspinfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thespinfield 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 ofthiswith just thespinStepfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofspinStepfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thespinStepfield changed
-
withUnmappedField
public GroupPolicyPresentationLongDecimalTextBox withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classGroupPolicyPresentation
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classGroupPolicyPresentation
-
patch
public GroupPolicyPresentationLongDecimalTextBox patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classGroupPolicyPresentation- Returns:
- a copy of
thiswith 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 ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classGroupPolicyPresentation- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classGroupPolicyPresentation
-
-