Class DeviceManagementConfigurationSettingInstanceTemplate
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceManagementConfigurationSettingInstanceTemplate
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
DeviceManagementConfigurationChoiceSettingCollectionInstanceTemplate,DeviceManagementConfigurationChoiceSettingInstanceTemplate,DeviceManagementConfigurationGroupSettingCollectionInstanceTemplate,DeviceManagementConfigurationGroupSettingInstanceTemplate,DeviceManagementConfigurationSimpleSettingCollectionInstanceTemplate,DeviceManagementConfigurationSimpleSettingInstanceTemplate
public class DeviceManagementConfigurationSettingInstanceTemplate extends Object implements com.github.davidmoten.odata.client.ODataType
“Setting Instance Template”
-
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected BooleanisRequiredprotected StringodataTypeprotected StringsettingDefinitionIdprotected StringsettingInstanceTemplateIdprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementConfigurationSettingInstanceTemplate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Boolean>getIsRequired()“Indicates if a policy must specify this setting.”Optional<String>getSettingDefinitionId()“Setting Definition Id”Optional<String>getSettingInstanceTemplateId()“Setting Instance Template Id”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceManagementConfigurationSettingInstanceTemplatewithIsRequired(Boolean isRequired)Returns an immutable copy ofthiswith just theisRequiredfield changed.DeviceManagementConfigurationSettingInstanceTemplatewithSettingDefinitionId(String settingDefinitionId)Returns an immutable copy ofthiswith just thesettingDefinitionIdfield changed.DeviceManagementConfigurationSettingInstanceTemplatewithSettingInstanceTemplateId(String settingInstanceTemplateId)Returns an immutable copy ofthiswith just thesettingInstanceTemplateIdfield changed.DeviceManagementConfigurationSettingInstanceTemplatewithUnmappedField(String name, String value)
-
-
-
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
-
isRequired
protected Boolean isRequired
-
settingDefinitionId
protected String settingDefinitionId
-
settingInstanceTemplateId
protected String settingInstanceTemplateId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getIsRequired
public Optional<Boolean> getIsRequired()
“Indicates if a policy must specify this setting.”- Returns:
- property isRequired
-
withIsRequired
public DeviceManagementConfigurationSettingInstanceTemplate withIsRequired(Boolean isRequired)
Returns an immutable copy ofthiswith just theisRequiredfield 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.“Indicates if a policy must specify this setting.”
- Parameters:
isRequired- new value ofisRequiredfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theisRequiredfield changed
-
getSettingDefinitionId
public Optional<String> getSettingDefinitionId()
“Setting Definition Id”- Returns:
- property settingDefinitionId
-
withSettingDefinitionId
public DeviceManagementConfigurationSettingInstanceTemplate withSettingDefinitionId(String settingDefinitionId)
Returns an immutable copy ofthiswith just thesettingDefinitionIdfield 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 Definition Id”
- Parameters:
settingDefinitionId- new value ofsettingDefinitionIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesettingDefinitionIdfield changed
-
getSettingInstanceTemplateId
public Optional<String> getSettingInstanceTemplateId()
“Setting Instance Template Id”- Returns:
- property settingInstanceTemplateId
-
withSettingInstanceTemplateId
public DeviceManagementConfigurationSettingInstanceTemplate withSettingInstanceTemplateId(String settingInstanceTemplateId)
Returns an immutable copy ofthiswith just thesettingInstanceTemplateIdfield 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 Instance Template Id”
- Parameters:
settingInstanceTemplateId- new value ofsettingInstanceTemplateIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesettingInstanceTemplateIdfield changed
-
withUnmappedField
public DeviceManagementConfigurationSettingInstanceTemplate 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
-
-