Package odata.msgraph.client.beta.entity
Class DeviceManagementConfigurationSimpleSettingCollectionDefinition
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementConfigurationSettingDefinition
-
- odata.msgraph.client.beta.entity.DeviceManagementConfigurationSimpleSettingDefinition
-
- odata.msgraph.client.beta.entity.DeviceManagementConfigurationSimpleSettingCollectionDefinition
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceManagementConfigurationSimpleSettingCollectionDefinition extends DeviceManagementConfigurationSimpleSettingDefinition implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementConfigurationSimpleSettingCollectionDefinition.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegermaximumCountprotected IntegerminimumCount-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceManagementConfigurationSimpleSettingDefinition
defaultValue, dependedOnBy, dependedOnByNextLink, dependentOn, dependentOnNextLink, valueDefinition
-
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 protectedDeviceManagementConfigurationSimpleSettingCollectionDefinition()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementConfigurationSimpleSettingCollectionDefinition.BuilderbuilderDeviceManagementConfigurationSimpleSettingCollectionDefinition()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 simple settings in the collection.Optional<Integer>getMinimumCount()“Minimum number of simple settings in the collection.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceManagementConfigurationSimpleSettingCollectionDefinitionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementConfigurationSimpleSettingCollectionDefinitionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceManagementConfigurationSimpleSettingCollectionDefinitionwithMaximumCount(Integer maximumCount)Returns an immutable copy ofthiswith just themaximumCountfield changed.DeviceManagementConfigurationSimpleSettingCollectionDefinitionwithMinimumCount(Integer minimumCount)Returns an immutable copy ofthiswith just theminimumCountfield changed.DeviceManagementConfigurationSimpleSettingCollectionDefinitionwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceManagementConfigurationSimpleSettingDefinition
builderDeviceManagementConfigurationSimpleSettingDefinition, getDefaultValue, getDependedOnBy, getDependedOnBy, getDependentOn, getDependentOn, getValueDefinition, withDefaultValue, withDependedOnBy, withDependentOn, withValueDefinition
-
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 classDeviceManagementConfigurationSimpleSettingDefinition
-
builderDeviceManagementConfigurationSimpleSettingCollectionDefinition
public static DeviceManagementConfigurationSimpleSettingCollectionDefinition.Builder builderDeviceManagementConfigurationSimpleSettingCollectionDefinition()
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 classDeviceManagementConfigurationSimpleSettingDefinition
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceManagementConfigurationSimpleSettingDefinition
-
getMaximumCount
public Optional<Integer> getMaximumCount()
“Maximum number of simple settings in the collection. Valid values 1 to 100”- Returns:
- property maximumCount
-
withMaximumCount
public DeviceManagementConfigurationSimpleSettingCollectionDefinition 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 simple settings 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 simple settings in the collection. Valid values 1 to 100”- Returns:
- property minimumCount
-
withMinimumCount
public DeviceManagementConfigurationSimpleSettingCollectionDefinition 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 simple settings 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 DeviceManagementConfigurationSimpleSettingCollectionDefinition withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceManagementConfigurationSimpleSettingDefinition
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceManagementConfigurationSimpleSettingDefinition
-
patch
public DeviceManagementConfigurationSimpleSettingCollectionDefinition patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceManagementConfigurationSimpleSettingDefinition- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public DeviceManagementConfigurationSimpleSettingCollectionDefinition put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceManagementConfigurationSimpleSettingDefinition- 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 classDeviceManagementConfigurationSimpleSettingDefinition
-
-