Class DeviceManagementConfigurationOptionDefinition
- java.lang.Object
-
- odata.msgraph.client.beta.complex.DeviceManagementConfigurationOptionDefinition
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class DeviceManagementConfigurationOptionDefinition extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementConfigurationOptionDefinition.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected List<DeviceManagementConfigurationSettingDependedOnBy>dependedOnByprotected StringdependedOnByNextLinkprotected List<DeviceManagementConfigurationDependentOn>dependentOnprotected StringdependentOnNextLinkprotected Stringdescriptionprotected StringdisplayNameprotected StringhelpTextprotected StringitemIdprotected Stringnameprotected StringodataTypeprotected DeviceManagementConfigurationSettingValueoptionValueprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementConfigurationOptionDefinition()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementConfigurationOptionDefinition.Builderbuilder()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.CollectionPage<DeviceManagementConfigurationSettingDependedOnBy>getDependedOnBy()“List of Settings that depends on this option”com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationSettingDependedOnBy>getDependedOnBy(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of Settings that depends on this option”com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationDependentOn>getDependentOn()“List of dependent settings for this option”com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationDependentOn>getDependentOn(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of dependent settings for this option”Optional<String>getDescription()“Description of the option”Optional<String>getDisplayName()“Friendly name of the option”Optional<String>getHelpText()“Help text of the option”Optional<String>getItemId()“Identifier of option”Optional<String>getName()“Name of the option”Optional<DeviceManagementConfigurationSettingValue>getOptionValue()“Value of the option”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()DeviceManagementConfigurationOptionDefinitionwithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.DeviceManagementConfigurationOptionDefinitionwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.DeviceManagementConfigurationOptionDefinitionwithHelpText(String helpText)Returns an immutable copy ofthiswith just thehelpTextfield changed.DeviceManagementConfigurationOptionDefinitionwithItemId(String itemId)Returns an immutable copy ofthiswith just theitemIdfield changed.DeviceManagementConfigurationOptionDefinitionwithName(String name)Returns an immutable copy ofthiswith just thenamefield changed.DeviceManagementConfigurationOptionDefinitionwithOptionValue(DeviceManagementConfigurationSettingValue optionValue)Returns an immutable copy ofthiswith just theoptionValuefield changed.DeviceManagementConfigurationOptionDefinitionwithUnmappedField(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
-
dependedOnBy
protected List<DeviceManagementConfigurationSettingDependedOnBy> dependedOnBy
-
dependedOnByNextLink
protected String dependedOnByNextLink
-
dependentOn
protected List<DeviceManagementConfigurationDependentOn> dependentOn
-
dependentOnNextLink
protected String dependentOnNextLink
-
description
protected String description
-
displayName
protected String displayName
-
helpText
protected String helpText
-
itemId
protected String itemId
-
name
protected String name
-
optionValue
protected DeviceManagementConfigurationSettingValue optionValue
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDependedOnBy
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationSettingDependedOnBy> getDependedOnBy()
“List of Settings that depends on this option”- Returns:
- property dependedOnBy
-
getDependedOnBy
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationSettingDependedOnBy> getDependedOnBy(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of Settings that depends on this option”- Parameters:
options- specify connect and read timeouts- Returns:
- property dependedOnBy
-
getDependentOn
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationDependentOn> getDependentOn()
“List of dependent settings for this option”- Returns:
- property dependentOn
-
getDependentOn
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationDependentOn> getDependentOn(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of dependent settings for this option”- Parameters:
options- specify connect and read timeouts- Returns:
- property dependentOn
-
getDescription
public Optional<String> getDescription()
“Description of the option”- Returns:
- property description
-
withDescription
public DeviceManagementConfigurationOptionDefinition withDescription(String description)
Returns an immutable copy ofthiswith just thedescriptionfield 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.“Description of the option”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“Friendly name of the option”- Returns:
- property displayName
-
withDisplayName
public DeviceManagementConfigurationOptionDefinition withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield 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.“Friendly name of the option”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getHelpText
public Optional<String> getHelpText()
“Help text of the option”- Returns:
- property helpText
-
withHelpText
public DeviceManagementConfigurationOptionDefinition withHelpText(String helpText)
Returns an immutable copy ofthiswith just thehelpTextfield 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.“Help text of the option”
- Parameters:
helpText- new value ofhelpTextfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thehelpTextfield changed
-
withItemId
public DeviceManagementConfigurationOptionDefinition withItemId(String itemId)
Returns an immutable copy ofthiswith just theitemIdfield 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.“Identifier of option”
- Parameters:
itemId- new value ofitemIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theitemIdfield changed
-
withName
public DeviceManagementConfigurationOptionDefinition withName(String name)
Returns an immutable copy ofthiswith just thenamefield 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.“Name of the option”
- Parameters:
name- new value ofnamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenamefield changed
-
getOptionValue
public Optional<DeviceManagementConfigurationSettingValue> getOptionValue()
“Value of the option”- Returns:
- property optionValue
-
withOptionValue
public DeviceManagementConfigurationOptionDefinition withOptionValue(DeviceManagementConfigurationSettingValue optionValue)
Returns an immutable copy ofthiswith just theoptionValuefield 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.“Value of the option”
- Parameters:
optionValue- new value ofoptionValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoptionValuefield changed
-
withUnmappedField
public DeviceManagementConfigurationOptionDefinition 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 DeviceManagementConfigurationOptionDefinition.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
-
-