Package odata.msgraph.client.beta.entity
Class DeviceManagementConfigurationChoiceSettingCollectionDefinition
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementConfigurationSettingDefinition
-
- odata.msgraph.client.beta.entity.DeviceManagementConfigurationChoiceSettingDefinition
-
- odata.msgraph.client.beta.entity.DeviceManagementConfigurationChoiceSettingCollectionDefinition
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceManagementConfigurationChoiceSettingCollectionDefinition extends DeviceManagementConfigurationChoiceSettingDefinition implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementConfigurationChoiceSettingCollectionDefinition.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegermaximumCountprotected IntegerminimumCount-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceManagementConfigurationChoiceSettingDefinition
defaultOptionId, options, optionsNextLink
-
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 protectedDeviceManagementConfigurationChoiceSettingCollectionDefinition()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementConfigurationChoiceSettingCollectionDefinition.BuilderbuilderDeviceManagementConfigurationChoiceSettingCollectionDefinition()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<Integer>getMaximumCount()“Maximum number of choices in the collection.Optional<Integer>getMinimumCount()“Minimum number of choices in the collection.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceManagementConfigurationChoiceSettingCollectionDefinitionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementConfigurationChoiceSettingCollectionDefinitionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceManagementConfigurationChoiceSettingCollectionDefinitionwithMaximumCount(Integer maximumCount)Returns an immutable copy ofthiswith just themaximumCountfield changed.DeviceManagementConfigurationChoiceSettingCollectionDefinitionwithMinimumCount(Integer minimumCount)Returns an immutable copy ofthiswith just theminimumCountfield changed.DeviceManagementConfigurationChoiceSettingCollectionDefinitionwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceManagementConfigurationChoiceSettingDefinition
builderDeviceManagementConfigurationChoiceSettingDefinition, getDefaultOptionId, getOptions, getOptions, withDefaultOptionId, withOptions
-
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
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceManagementConfigurationChoiceSettingDefinition
-
builderDeviceManagementConfigurationChoiceSettingCollectionDefinition
public static DeviceManagementConfigurationChoiceSettingCollectionDefinition.Builder builderDeviceManagementConfigurationChoiceSettingCollectionDefinition()
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 classDeviceManagementConfigurationChoiceSettingDefinition
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceManagementConfigurationChoiceSettingDefinition
-
getMaximumCount
public Optional<Integer> getMaximumCount()
“Maximum number of choices in the collection. Valid values 1 to 100”- Returns:
- property maximumCount
-
withMaximumCount
public DeviceManagementConfigurationChoiceSettingCollectionDefinition withMaximumCount(Integer maximumCount)
Returns an immutable copy ofthiswith just themaximumCountfield 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.“Maximum number of choices in the collection. Valid values 1 to 100”
- Parameters:
maximumCount- new value ofmaximumCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themaximumCountfield changed
-
getMinimumCount
public Optional<Integer> getMinimumCount()
“Minimum number of choices in the collection. Valid values 1 to 100”- Returns:
- property minimumCount
-
withMinimumCount
public DeviceManagementConfigurationChoiceSettingCollectionDefinition withMinimumCount(Integer minimumCount)
Returns an immutable copy ofthiswith just theminimumCountfield 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.“Minimum number of choices in the collection. Valid values 1 to 100”
- Parameters:
minimumCount- new value ofminimumCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theminimumCountfield changed
-
withUnmappedField
public DeviceManagementConfigurationChoiceSettingCollectionDefinition withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceManagementConfigurationChoiceSettingDefinition
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceManagementConfigurationChoiceSettingDefinition
-
patch
public DeviceManagementConfigurationChoiceSettingCollectionDefinition patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceManagementConfigurationChoiceSettingDefinition- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public DeviceManagementConfigurationChoiceSettingCollectionDefinition put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceManagementConfigurationChoiceSettingDefinition- 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 classDeviceManagementConfigurationChoiceSettingDefinition
-
-