Class DeviceManagementConfigurationStringSettingValueTemplate
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceManagementConfigurationSimpleSettingValueTemplate
-
- odata.msgraph.client.beta.complex.DeviceManagementConfigurationStringSettingValueTemplate
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceManagementConfigurationStringSettingValueTemplate extends DeviceManagementConfigurationSimpleSettingValueTemplate implements com.github.davidmoten.odata.client.ODataType
“String Setting Value Template”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementConfigurationStringSettingValueTemplate.Builder
-
Field Summary
Fields Modifier and Type Field Description protected DeviceManagementConfigurationStringSettingValueDefaultTemplatedefaultValue-
Fields inherited from class odata.msgraph.client.beta.complex.DeviceManagementConfigurationSimpleSettingValueTemplate
contextPath, odataType, settingValueTemplateId, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementConfigurationStringSettingValueTemplate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementConfigurationStringSettingValueTemplate.BuilderbuilderDeviceManagementConfigurationStringSettingValueTemplate()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<DeviceManagementConfigurationStringSettingValueDefaultTemplate>getDefaultValue()“String Setting Value Default Template.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceManagementConfigurationStringSettingValueTemplatewithDefaultValue(DeviceManagementConfigurationStringSettingValueDefaultTemplate defaultValue)Returns an immutable copy ofthiswith just thedefaultValuefield changed.DeviceManagementConfigurationStringSettingValueTemplatewithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.complex.DeviceManagementConfigurationSimpleSettingValueTemplate
getSettingValueTemplateId, withSettingValueTemplateId
-
-
-
-
Field Detail
-
defaultValue
protected DeviceManagementConfigurationStringSettingValueDefaultTemplate defaultValue
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceManagementConfigurationSimpleSettingValueTemplate
-
getDefaultValue
public Optional<DeviceManagementConfigurationStringSettingValueDefaultTemplate> getDefaultValue()
“String Setting Value Default Template.”- Returns:
- property defaultValue
-
withDefaultValue
public DeviceManagementConfigurationStringSettingValueTemplate withDefaultValue(DeviceManagementConfigurationStringSettingValueDefaultTemplate 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.“String Setting Value Default Template.”
- Parameters:
defaultValue- new value ofdefaultValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedefaultValuefield changed
-
withUnmappedField
public DeviceManagementConfigurationStringSettingValueTemplate withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceManagementConfigurationSimpleSettingValueTemplate
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceManagementConfigurationSimpleSettingValueTemplate
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceManagementConfigurationSimpleSettingValueTemplate
-
builderDeviceManagementConfigurationStringSettingValueTemplate
public static DeviceManagementConfigurationStringSettingValueTemplate.Builder builderDeviceManagementConfigurationStringSettingValueTemplate()
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 classDeviceManagementConfigurationSimpleSettingValueTemplate
-
-