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