Package odata.msgraph.client.beta.entity
Class DeviceManagementConfigurationCategory
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementConfigurationCategory
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceManagementConfigurationCategory extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Device Management Configuration Policy”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementConfigurationCategory.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringcategoryDescriptionprotected List<String>childCategoryIdsprotected StringchildCategoryIdsNextLinkprotected Stringdescriptionprotected StringdisplayNameprotected StringhelpTextprotected Stringnameprotected StringparentCategoryIdprotected DeviceManagementConfigurationPlatformsplatformsprotected StringrootCategoryIdprotected DeviceManagementConfigurationSettingUsagesettingUsageprotected DeviceManagementConfigurationTechnologiestechnologies-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementConfigurationCategory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementConfigurationCategory.BuilderbuilderDeviceManagementConfigurationCategory()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getCategoryDescription()“Description of the category header”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()com.github.davidmoten.odata.client.CollectionPage<String>getChildCategoryIds()“List of child ids of the category.”com.github.davidmoten.odata.client.CollectionPage<String>getChildCategoryIds(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of child ids of the category.”Optional<String>getDescription()“Description of the item”Optional<String>getDisplayName()“Display name of the item”Optional<String>getHelpText()“Help text of the item”Optional<String>getName()“Name of the item”Optional<String>getParentCategoryId()“Parent id of the category.”Optional<DeviceManagementConfigurationPlatforms>getPlatforms()“Platforms types, which settings in the category have.”Optional<String>getRootCategoryId()“Root id of the category.”Optional<DeviceManagementConfigurationSettingUsage>getSettingUsage()“Indicates that the category contains settings that are used for Compliance or Configuration.”Optional<DeviceManagementConfigurationTechnologies>getTechnologies()“Technologies types, which settings in the category have.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceManagementConfigurationCategorypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementConfigurationCategoryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceManagementConfigurationCategorywithCategoryDescription(String categoryDescription)Returns an immutable copy ofthiswith just thecategoryDescriptionfield changed.DeviceManagementConfigurationCategorywithChildCategoryIds(List<String> childCategoryIds)Returns an immutable copy ofthiswith just thechildCategoryIdsfield changed.DeviceManagementConfigurationCategorywithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.DeviceManagementConfigurationCategorywithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.DeviceManagementConfigurationCategorywithHelpText(String helpText)Returns an immutable copy ofthiswith just thehelpTextfield changed.DeviceManagementConfigurationCategorywithName(String name)Returns an immutable copy ofthiswith just thenamefield changed.DeviceManagementConfigurationCategorywithParentCategoryId(String parentCategoryId)Returns an immutable copy ofthiswith just theparentCategoryIdfield changed.DeviceManagementConfigurationCategorywithPlatforms(DeviceManagementConfigurationPlatforms platforms)Returns an immutable copy ofthiswith just theplatformsfield changed.DeviceManagementConfigurationCategorywithRootCategoryId(String rootCategoryId)Returns an immutable copy ofthiswith just therootCategoryIdfield changed.DeviceManagementConfigurationCategorywithSettingUsage(DeviceManagementConfigurationSettingUsage settingUsage)Returns an immutable copy ofthiswith just thesettingUsagefield changed.DeviceManagementConfigurationCategorywithTechnologies(DeviceManagementConfigurationTechnologies technologies)Returns an immutable copy ofthiswith just thetechnologiesfield changed.DeviceManagementConfigurationCategorywithUnmappedField(String name, String value)
-
-
-
Field Detail
-
categoryDescription
protected String categoryDescription
-
childCategoryIdsNextLink
protected String childCategoryIdsNextLink
-
description
protected String description
-
displayName
protected String displayName
-
helpText
protected String helpText
-
name
protected String name
-
parentCategoryId
protected String parentCategoryId
-
platforms
protected DeviceManagementConfigurationPlatforms platforms
-
rootCategoryId
protected String rootCategoryId
-
settingUsage
protected DeviceManagementConfigurationSettingUsage settingUsage
-
technologies
protected DeviceManagementConfigurationTechnologies technologies
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDeviceManagementConfigurationCategory
public static DeviceManagementConfigurationCategory.Builder builderDeviceManagementConfigurationCategory()
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 classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getCategoryDescription
public Optional<String> getCategoryDescription()
“Description of the category header”- Returns:
- property categoryDescription
-
withCategoryDescription
public DeviceManagementConfigurationCategory withCategoryDescription(String categoryDescription)
Returns an immutable copy ofthiswith just thecategoryDescriptionfield 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 category header”
- Parameters:
categoryDescription- new value ofcategoryDescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecategoryDescriptionfield changed
-
getChildCategoryIds
public com.github.davidmoten.odata.client.CollectionPage<String> getChildCategoryIds()
“List of child ids of the category.”- Returns:
- property childCategoryIds
-
withChildCategoryIds
public DeviceManagementConfigurationCategory withChildCategoryIds(List<String> childCategoryIds)
Returns an immutable copy ofthiswith just thechildCategoryIdsfield 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 ids of the category.”
- Parameters:
childCategoryIds- new value ofchildCategoryIdsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thechildCategoryIdsfield changed
-
getChildCategoryIds
public com.github.davidmoten.odata.client.CollectionPage<String> getChildCategoryIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of child ids of the category.”- Parameters:
options- specify connect and read timeouts- Returns:
- property childCategoryIds
-
getDescription
public Optional<String> getDescription()
“Description of the item”- Returns:
- property description
-
withDescription
public DeviceManagementConfigurationCategory 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 item”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“Display name of the item”- Returns:
- property displayName
-
withDisplayName
public DeviceManagementConfigurationCategory 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.“Display name of the item”
- 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 item”- Returns:
- property helpText
-
withHelpText
public DeviceManagementConfigurationCategory 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 item”
- Parameters:
helpText- new value ofhelpTextfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thehelpTextfield changed
-
withName
public DeviceManagementConfigurationCategory 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 item”
- Parameters:
name- new value ofnamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenamefield changed
-
getParentCategoryId
public Optional<String> getParentCategoryId()
“Parent id of the category.”- Returns:
- property parentCategoryId
-
withParentCategoryId
public DeviceManagementConfigurationCategory withParentCategoryId(String parentCategoryId)
Returns an immutable copy ofthiswith just theparentCategoryIdfield 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.“Parent id of the category.”
- Parameters:
parentCategoryId- new value ofparentCategoryIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theparentCategoryIdfield changed
-
getPlatforms
public Optional<DeviceManagementConfigurationPlatforms> getPlatforms()
“Platforms types, which settings in the category have.”- Returns:
- property platforms
-
withPlatforms
public DeviceManagementConfigurationCategory withPlatforms(DeviceManagementConfigurationPlatforms platforms)
Returns an immutable copy ofthiswith just theplatformsfield 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.“Platforms types, which settings in the category have.”
- Parameters:
platforms- new value ofplatformsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theplatformsfield changed
-
getRootCategoryId
public Optional<String> getRootCategoryId()
“Root id of the category.”- Returns:
- property rootCategoryId
-
withRootCategoryId
public DeviceManagementConfigurationCategory withRootCategoryId(String rootCategoryId)
Returns an immutable copy ofthiswith just therootCategoryIdfield 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.“Root id of the category.”
- Parameters:
rootCategoryId- new value ofrootCategoryIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therootCategoryIdfield changed
-
getSettingUsage
public Optional<DeviceManagementConfigurationSettingUsage> getSettingUsage()
“Indicates that the category contains settings that are used for Compliance or Configuration.”- Returns:
- property settingUsage
-
withSettingUsage
public DeviceManagementConfigurationCategory withSettingUsage(DeviceManagementConfigurationSettingUsage settingUsage)
Returns an immutable copy ofthiswith just thesettingUsagefield 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.“Indicates that the category contains settings that are used for Compliance or Configuration.”
- Parameters:
settingUsage- new value ofsettingUsagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesettingUsagefield changed
-
getTechnologies
public Optional<DeviceManagementConfigurationTechnologies> getTechnologies()
“Technologies types, which settings in the category have.”- Returns:
- property technologies
-
withTechnologies
public DeviceManagementConfigurationCategory withTechnologies(DeviceManagementConfigurationTechnologies technologies)
Returns an immutable copy ofthiswith just thetechnologiesfield 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.“Technologies types, which settings in the category have.”
- Parameters:
technologies- new value oftechnologiesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetechnologiesfield changed
-
withUnmappedField
public DeviceManagementConfigurationCategory withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public DeviceManagementConfigurationCategory patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceManagementConfigurationCategory put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-