Class DeviceManagementConfigurationChoiceSettingValueTemplate
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceManagementConfigurationChoiceSettingValueTemplate
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceManagementConfigurationChoiceSettingValueTemplate extends Object implements com.github.davidmoten.odata.client.ODataType
“Choice Setting Value Template”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementConfigurationChoiceSettingValueTemplate.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected DeviceManagementConfigurationChoiceSettingValueDefaultTemplatedefaultValueprotected StringodataTypeprotected DeviceManagementConfigurationChoiceSettingValueDefinitionTemplaterecommendedValueDefinitionprotected DeviceManagementConfigurationChoiceSettingValueDefinitionTemplaterequiredValueDefinitionprotected StringsettingValueTemplateIdprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementConfigurationChoiceSettingValueTemplate()
-
Method Summary
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
defaultValue
protected DeviceManagementConfigurationChoiceSettingValueDefaultTemplate defaultValue
-
recommendedValueDefinition
protected DeviceManagementConfigurationChoiceSettingValueDefinitionTemplate recommendedValueDefinition
-
requiredValueDefinition
protected DeviceManagementConfigurationChoiceSettingValueDefinitionTemplate requiredValueDefinition
-
settingValueTemplateId
protected String settingValueTemplateId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDefaultValue
public Optional<DeviceManagementConfigurationChoiceSettingValueDefaultTemplate> getDefaultValue()
“Choice Setting Value Default Template.”- Returns:
- property defaultValue
-
withDefaultValue
public DeviceManagementConfigurationChoiceSettingValueTemplate withDefaultValue(DeviceManagementConfigurationChoiceSettingValueDefaultTemplate 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.“Choice Setting Value Default Template.”
- Parameters:
defaultValue- new value ofdefaultValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedefaultValuefield changed
-
getRecommendedValueDefinition
public Optional<DeviceManagementConfigurationChoiceSettingValueDefinitionTemplate> getRecommendedValueDefinition()
“Recommended definition override.”- Returns:
- property recommendedValueDefinition
-
withRecommendedValueDefinition
public DeviceManagementConfigurationChoiceSettingValueTemplate withRecommendedValueDefinition(DeviceManagementConfigurationChoiceSettingValueDefinitionTemplate recommendedValueDefinition)
Returns an immutable copy ofthiswith just therecommendedValueDefinitionfield 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.“Recommended definition override.”
- Parameters:
recommendedValueDefinition- new value ofrecommendedValueDefinitionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therecommendedValueDefinitionfield changed
-
getRequiredValueDefinition
public Optional<DeviceManagementConfigurationChoiceSettingValueDefinitionTemplate> getRequiredValueDefinition()
“Required definition override.”- Returns:
- property requiredValueDefinition
-
withRequiredValueDefinition
public DeviceManagementConfigurationChoiceSettingValueTemplate withRequiredValueDefinition(DeviceManagementConfigurationChoiceSettingValueDefinitionTemplate requiredValueDefinition)
Returns an immutable copy ofthiswith just therequiredValueDefinitionfield 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.“Required definition override.”
- Parameters:
requiredValueDefinition- new value ofrequiredValueDefinitionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therequiredValueDefinitionfield changed
-
getSettingValueTemplateId
public Optional<String> getSettingValueTemplateId()
“Setting Value Template Id”- Returns:
- property settingValueTemplateId
-
withSettingValueTemplateId
public DeviceManagementConfigurationChoiceSettingValueTemplate withSettingValueTemplateId(String settingValueTemplateId)
Returns an immutable copy ofthiswith just thesettingValueTemplateIdfield 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.“Setting Value Template Id”
- Parameters:
settingValueTemplateId- new value ofsettingValueTemplateIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesettingValueTemplateIdfield changed
-
withUnmappedField
public DeviceManagementConfigurationChoiceSettingValueTemplate withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static DeviceManagementConfigurationChoiceSettingValueTemplate.Builder builder()
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
-
-