Package odata.msgraph.client.beta.entity
Class DeviceManagementConfigurationSettingGroupCollectionDefinition
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementConfigurationSettingDefinition
-
- odata.msgraph.client.beta.entity.DeviceManagementConfigurationSettingGroupDefinition
-
- odata.msgraph.client.beta.entity.DeviceManagementConfigurationSettingGroupCollectionDefinition
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceManagementConfigurationSettingGroupCollectionDefinition extends DeviceManagementConfigurationSettingGroupDefinition implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementConfigurationSettingGroupCollectionDefinition.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegermaximumCountprotected IntegerminimumCount-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceManagementConfigurationSettingGroupDefinition
childIds, childIdsNextLink, dependedOnBy, dependedOnByNextLink, dependentOn, dependentOnNextLink
-
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 protectedDeviceManagementConfigurationSettingGroupCollectionDefinition()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementConfigurationSettingGroupCollectionDefinition.BuilderbuilderDeviceManagementConfigurationSettingGroupCollectionDefinition()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 setting group count in the collection.Optional<Integer>getMinimumCount()“Minimum number of setting group count in the collection.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceManagementConfigurationSettingGroupCollectionDefinitionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementConfigurationSettingGroupCollectionDefinitionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceManagementConfigurationSettingGroupCollectionDefinitionwithMaximumCount(Integer maximumCount)Returns an immutable copy ofthiswith just themaximumCountfield changed.DeviceManagementConfigurationSettingGroupCollectionDefinitionwithMinimumCount(Integer minimumCount)Returns an immutable copy ofthiswith just theminimumCountfield changed.DeviceManagementConfigurationSettingGroupCollectionDefinitionwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceManagementConfigurationSettingGroupDefinition
builderDeviceManagementConfigurationSettingGroupDefinition, getChildIds, getChildIds, getDependedOnBy, getDependedOnBy, getDependentOn, getDependentOn, withChildIds, withDependedOnBy, withDependentOn
-
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 classDeviceManagementConfigurationSettingGroupDefinition
-
builderDeviceManagementConfigurationSettingGroupCollectionDefinition
public static DeviceManagementConfigurationSettingGroupCollectionDefinition.Builder builderDeviceManagementConfigurationSettingGroupCollectionDefinition()
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 classDeviceManagementConfigurationSettingGroupDefinition
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceManagementConfigurationSettingGroupDefinition
-
getMaximumCount
public Optional<Integer> getMaximumCount()
“Maximum number of setting group count in the collection. Valid values 1 to 100”- Returns:
- property maximumCount
-
withMaximumCount
public DeviceManagementConfigurationSettingGroupCollectionDefinition 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 setting group count 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 setting group count in the collection. Valid values 1 to 100”- Returns:
- property minimumCount
-
withMinimumCount
public DeviceManagementConfigurationSettingGroupCollectionDefinition 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 setting group count 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 DeviceManagementConfigurationSettingGroupCollectionDefinition withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceManagementConfigurationSettingGroupDefinition
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceManagementConfigurationSettingGroupDefinition
-
patch
public DeviceManagementConfigurationSettingGroupCollectionDefinition patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceManagementConfigurationSettingGroupDefinition- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public DeviceManagementConfigurationSettingGroupCollectionDefinition put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceManagementConfigurationSettingGroupDefinition- 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 classDeviceManagementConfigurationSettingGroupDefinition
-
-