Package odata.msgraph.client.beta.entity
Class DeviceManagementConfigurationSimpleSettingDefinition
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementConfigurationSettingDefinition
-
- odata.msgraph.client.beta.entity.DeviceManagementConfigurationSimpleSettingDefinition
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
DeviceManagementConfigurationSimpleSettingCollectionDefinition
public class DeviceManagementConfigurationSimpleSettingDefinition extends DeviceManagementConfigurationSettingDefinition implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementConfigurationSimpleSettingDefinition.Builder
-
Field Summary
Fields Modifier and Type Field Description protected DeviceManagementConfigurationSettingValuedefaultValueprotected List<DeviceManagementConfigurationSettingDependedOnBy>dependedOnByprotected StringdependedOnByNextLinkprotected List<DeviceManagementConfigurationDependentOn>dependentOnprotected StringdependentOnNextLinkprotected DeviceManagementConfigurationSettingValueDefinitionvalueDefinition-
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 protectedDeviceManagementConfigurationSimpleSettingDefinition()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementConfigurationSimpleSettingDefinition.BuilderbuilderDeviceManagementConfigurationSimpleSettingDefinition()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<DeviceManagementConfigurationSettingValue>getDefaultValue()“Default setting value for this setting”com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationSettingDependedOnBy>getDependedOnBy()“list of child settings that depend on this setting”com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationSettingDependedOnBy>getDependedOnBy(com.github.davidmoten.odata.client.HttpRequestOptions options)“list of child settings that depend on this setting”com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationDependentOn>getDependentOn()“list of parent settings this setting is dependent on”com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationDependentOn>getDependentOn(com.github.davidmoten.odata.client.HttpRequestOptions options)“list of parent settings this setting is dependent on”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<DeviceManagementConfigurationSettingValueDefinition>getValueDefinition()“Definition of the value for this setting”StringodataTypeName()DeviceManagementConfigurationSimpleSettingDefinitionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementConfigurationSimpleSettingDefinitionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceManagementConfigurationSimpleSettingDefinitionwithDefaultValue(DeviceManagementConfigurationSettingValue defaultValue)Returns an immutable copy ofthiswith just thedefaultValuefield changed.DeviceManagementConfigurationSimpleSettingDefinitionwithDependedOnBy(List<DeviceManagementConfigurationSettingDependedOnBy> dependedOnBy)Returns an immutable copy ofthiswith just thedependedOnByfield changed.DeviceManagementConfigurationSimpleSettingDefinitionwithDependentOn(List<DeviceManagementConfigurationDependentOn> dependentOn)Returns an immutable copy ofthiswith just thedependentOnfield changed.DeviceManagementConfigurationSimpleSettingDefinitionwithUnmappedField(String name, String value)DeviceManagementConfigurationSimpleSettingDefinitionwithValueDefinition(DeviceManagementConfigurationSettingValueDefinition valueDefinition)Returns an immutable copy ofthiswith just thevalueDefinitionfield changed.-
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
-
defaultValue
protected DeviceManagementConfigurationSettingValue defaultValue
-
dependedOnBy
protected List<DeviceManagementConfigurationSettingDependedOnBy> dependedOnBy
-
dependedOnByNextLink
protected String dependedOnByNextLink
-
dependentOn
protected List<DeviceManagementConfigurationDependentOn> dependentOn
-
dependentOnNextLink
protected String dependentOnNextLink
-
valueDefinition
protected DeviceManagementConfigurationSettingValueDefinition valueDefinition
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceManagementConfigurationSettingDefinition
-
builderDeviceManagementConfigurationSimpleSettingDefinition
public static DeviceManagementConfigurationSimpleSettingDefinition.Builder builderDeviceManagementConfigurationSimpleSettingDefinition()
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
-
getDefaultValue
public Optional<DeviceManagementConfigurationSettingValue> getDefaultValue()
“Default setting value for this setting”- Returns:
- property defaultValue
-
withDefaultValue
public DeviceManagementConfigurationSimpleSettingDefinition withDefaultValue(DeviceManagementConfigurationSettingValue 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.“Default setting value for this setting”
- Parameters:
defaultValue- new value ofdefaultValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedefaultValuefield changed
-
getDependedOnBy
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationSettingDependedOnBy> getDependedOnBy()
“list of child settings that depend on this setting”- Returns:
- property dependedOnBy
-
withDependedOnBy
public DeviceManagementConfigurationSimpleSettingDefinition withDependedOnBy(List<DeviceManagementConfigurationSettingDependedOnBy> dependedOnBy)
Returns an immutable copy ofthiswith just thedependedOnByfield 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.“list of child settings that depend on this setting”
- Parameters:
dependedOnBy- new value ofdependedOnByfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedependedOnByfield changed
-
getDependedOnBy
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationSettingDependedOnBy> getDependedOnBy(com.github.davidmoten.odata.client.HttpRequestOptions options)
“list of child settings that depend on this setting”- Parameters:
options- specify connect and read timeouts- Returns:
- property dependedOnBy
-
getDependentOn
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationDependentOn> getDependentOn()
“list of parent settings this setting is dependent on”- Returns:
- property dependentOn
-
withDependentOn
public DeviceManagementConfigurationSimpleSettingDefinition withDependentOn(List<DeviceManagementConfigurationDependentOn> dependentOn)
Returns an immutable copy ofthiswith just thedependentOnfield 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.“list of parent settings this setting is dependent on”
- Parameters:
dependentOn- new value ofdependentOnfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedependentOnfield changed
-
getDependentOn
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationDependentOn> getDependentOn(com.github.davidmoten.odata.client.HttpRequestOptions options)
“list of parent settings this setting is dependent on”- Parameters:
options- specify connect and read timeouts- Returns:
- property dependentOn
-
getValueDefinition
public Optional<DeviceManagementConfigurationSettingValueDefinition> getValueDefinition()
“Definition of the value for this setting”- Returns:
- property valueDefinition
-
withValueDefinition
public DeviceManagementConfigurationSimpleSettingDefinition withValueDefinition(DeviceManagementConfigurationSettingValueDefinition valueDefinition)
Returns an immutable copy ofthiswith just thevalueDefinitionfield 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.“Definition of the value for this setting”
- Parameters:
valueDefinition- new value ofvalueDefinitionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevalueDefinitionfield changed
-
withUnmappedField
public DeviceManagementConfigurationSimpleSettingDefinition 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 DeviceManagementConfigurationSimpleSettingDefinition 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 DeviceManagementConfigurationSimpleSettingDefinition 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
-
-