Package odata.msgraph.client.beta.entity
Class DeviceManagementConfigurationChoiceSettingDefinition
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementConfigurationSettingDefinition
-
- odata.msgraph.client.beta.entity.DeviceManagementConfigurationChoiceSettingDefinition
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
DeviceManagementConfigurationChoiceSettingCollectionDefinition
public class DeviceManagementConfigurationChoiceSettingDefinition extends DeviceManagementConfigurationSettingDefinition implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementConfigurationChoiceSettingDefinition.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringdefaultOptionIdprotected List<DeviceManagementConfigurationOptionDefinition>optionsprotected StringoptionsNextLink-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceManagementConfigurationSettingDefinition
accessTypes, applicability, baseUri, categoryId, description, displayName, helpText, infoUrls, infoUrlsNextLink, keywords, keywordsNextLink, name, occurrence, offsetUri, referredSettingInformationList, referredSettingInformationListNextLink, rootDefinitionId, settingUsage, uxBehavior, version, visibility
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementConfigurationChoiceSettingDefinition()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementConfigurationChoiceSettingDefinition.BuilderbuilderDeviceManagementConfigurationChoiceSettingDefinition()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDefaultOptionId()“Default option for choice setting”com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationOptionDefinition>getOptions()“Options for the setting that can be selected”com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationOptionDefinition>getOptions(com.github.davidmoten.odata.client.HttpRequestOptions options)“Options for the setting that can be selected”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceManagementConfigurationChoiceSettingDefinitionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementConfigurationChoiceSettingDefinitionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceManagementConfigurationChoiceSettingDefinitionwithDefaultOptionId(String defaultOptionId)Returns an immutable copy ofthiswith just thedefaultOptionIdfield changed.DeviceManagementConfigurationChoiceSettingDefinitionwithOptions(List<DeviceManagementConfigurationOptionDefinition> options)Returns an immutable copy ofthiswith just theoptionsfield changed.DeviceManagementConfigurationChoiceSettingDefinitionwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceManagementConfigurationSettingDefinition
builderDeviceManagementConfigurationSettingDefinition, getAccessTypes, getApplicability, getBaseUri, getCategoryId, getDescription, getDisplayName, getHelpText, getInfoUrls, getInfoUrls, getKeywords, getKeywords, getName, getOccurrence, getOffsetUri, getReferredSettingInformationList, getReferredSettingInformationList, getRootDefinitionId, getSettingUsage, getUxBehavior, getVersion, getVisibility, withAccessTypes, withApplicability, withBaseUri, withCategoryId, withDescription, withDisplayName, withHelpText, withInfoUrls, withKeywords, withName, withOccurrence, withOffsetUri, withReferredSettingInformationList, withRootDefinitionId, withSettingUsage, withUxBehavior, withVersion, withVisibility
-
-
-
-
Field Detail
-
defaultOptionId
protected String defaultOptionId
-
options
protected List<DeviceManagementConfigurationOptionDefinition> options
-
optionsNextLink
protected String optionsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceManagementConfigurationSettingDefinition
-
builderDeviceManagementConfigurationChoiceSettingDefinition
public static DeviceManagementConfigurationChoiceSettingDefinition.Builder builderDeviceManagementConfigurationChoiceSettingDefinition()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classDeviceManagementConfigurationSettingDefinition
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceManagementConfigurationSettingDefinition
-
getDefaultOptionId
public Optional<String> getDefaultOptionId()
“Default option for choice setting”- Returns:
- property defaultOptionId
-
withDefaultOptionId
public DeviceManagementConfigurationChoiceSettingDefinition withDefaultOptionId(String defaultOptionId)
Returns an immutable copy ofthiswith just thedefaultOptionIdfield 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.“Default option for choice setting”
- Parameters:
defaultOptionId- new value ofdefaultOptionIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedefaultOptionIdfield changed
-
getOptions
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationOptionDefinition> getOptions()
“Options for the setting that can be selected”- Returns:
- property options
-
withOptions
public DeviceManagementConfigurationChoiceSettingDefinition withOptions(List<DeviceManagementConfigurationOptionDefinition> options)
Returns an immutable copy ofthiswith just theoptionsfield 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.“Options for the setting that can be selected”
- Parameters:
options- new value ofoptionsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoptionsfield changed
-
getOptions
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationOptionDefinition> getOptions(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Options for the setting that can be selected”- Parameters:
options- specify connect and read timeouts- Returns:
- property options
-
withUnmappedField
public DeviceManagementConfigurationChoiceSettingDefinition withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceManagementConfigurationSettingDefinition
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceManagementConfigurationSettingDefinition
-
patch
public DeviceManagementConfigurationChoiceSettingDefinition patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceManagementConfigurationSettingDefinition- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public DeviceManagementConfigurationChoiceSettingDefinition put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceManagementConfigurationSettingDefinition- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classDeviceManagementConfigurationSettingDefinition
-
-