Class DeviceHealthScriptIntegerParameter
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceHealthScriptParameter
-
- odata.msgraph.client.beta.complex.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceHealthScriptIntegerParameter.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerdefaultValue-
Fields inherited from class odata.msgraph.client.beta.complex.DeviceHealthScriptParameter
applyDefaultValueWhenNotAssigned, contextPath, description, isRequired, name, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceHealthScriptIntegerParameter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceHealthScriptIntegerParameter.BuilderbuilderDeviceHealthScriptIntegerParameter()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getDefaultValue()“The default value of Integer param.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceHealthScriptIntegerParameterwithDefaultValue(Integer defaultValue)Returns an immutable copy ofthiswith just thedefaultValuefield changed.DeviceHealthScriptIntegerParameterwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.complex.DeviceHealthScriptParameter
getApplyDefaultValueWhenNotAssigned, getDescription, getIsRequired, getName, withApplyDefaultValueWhenNotAssigned, withDescription, withIsRequired, withName
-
-
-
-
Field Detail
-
defaultValue
protected Integer defaultValue
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceHealthScriptParameter
-
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 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.“The default value of Integer param. Valid values -2147483648 to 2147483647”
- Parameters:
defaultValue- new value ofdefaultValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedefaultValuefield changed
-
withUnmappedField
public DeviceHealthScriptIntegerParameter withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceHealthScriptParameter
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceHealthScriptParameter
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceHealthScriptParameter
-
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
-
toString
public String toString()
- Overrides:
toStringin classDeviceHealthScriptParameter
-
-