Class DeviceHealthScriptBooleanParameter
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceHealthScriptParameter
-
- odata.msgraph.client.beta.complex.DeviceHealthScriptBooleanParameter
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceHealthScriptBooleanParameter extends DeviceHealthScriptParameter implements com.github.davidmoten.odata.client.ODataType
“Properties of the Booolean script parameter.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceHealthScriptBooleanParameter.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleandefaultValue-
Fields inherited from class odata.msgraph.client.beta.complex.DeviceHealthScriptParameter
applyDefaultValueWhenNotAssigned, contextPath, description, isRequired, name, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceHealthScriptBooleanParameter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceHealthScriptBooleanParameter.BuilderbuilderDeviceHealthScriptBooleanParameter()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getDefaultValue()“The default value of boolean param”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceHealthScriptBooleanParameterwithDefaultValue(Boolean defaultValue)Returns an immutable copy ofthiswith just thedefaultValuefield changed.DeviceHealthScriptBooleanParameterwithUnmappedField(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 Boolean defaultValue
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceHealthScriptParameter
-
getDefaultValue
public Optional<Boolean> getDefaultValue()
“The default value of boolean param”- Returns:
- property defaultValue
-
withDefaultValue
public DeviceHealthScriptBooleanParameter withDefaultValue(Boolean 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 boolean param”
- Parameters:
defaultValue- new value ofdefaultValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedefaultValuefield changed
-
withUnmappedField
public DeviceHealthScriptBooleanParameter 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
-
builderDeviceHealthScriptBooleanParameter
public static DeviceHealthScriptBooleanParameter.Builder builderDeviceHealthScriptBooleanParameter()
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
-
-