Class DeviceManagementConfigurationSettingDefinition
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementConfigurationSettingDefinition
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
DeviceManagementConfigurationChoiceSettingDefinition,DeviceManagementConfigurationRedirectSettingDefinition,DeviceManagementConfigurationSettingGroupDefinition,DeviceManagementConfigurationSimpleSettingDefinition
public class DeviceManagementConfigurationSettingDefinition extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementConfigurationSettingDefinition.Builder
-
Field Summary
Fields Modifier and Type Field Description protected DeviceManagementConfigurationSettingAccessTypesaccessTypesprotected DeviceManagementConfigurationSettingApplicabilityapplicabilityprotected StringbaseUriprotected StringcategoryIdprotected Stringdescriptionprotected StringdisplayNameprotected StringhelpTextprotected List<String>infoUrlsprotected StringinfoUrlsNextLinkprotected List<String>keywordsprotected StringkeywordsNextLinkprotected Stringnameprotected DeviceManagementConfigurationSettingOccurrenceoccurrenceprotected StringoffsetUriprotected List<DeviceManagementConfigurationReferredSettingInformation>referredSettingInformationListprotected StringreferredSettingInformationListNextLinkprotected StringrootDefinitionIdprotected DeviceManagementConfigurationSettingUsagesettingUsageprotected DeviceManagementConfigurationControlTypeuxBehaviorprotected Stringversionprotected DeviceManagementConfigurationSettingVisibilityvisibility-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDeviceManagementConfigurationSettingDefinition()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementConfigurationSettingDefinition.BuilderbuilderDeviceManagementConfigurationSettingDefinition()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<DeviceManagementConfigurationSettingAccessTypes>getAccessTypes()“Read/write access mode of the setting”Optional<DeviceManagementConfigurationSettingApplicability>getApplicability()“Details which device setting is applicable on”Optional<String>getBaseUri()“Base CSP Path”Optional<String>getCategoryId()“Specifies the area group under which the setting is configured in a specified configuration service provider (CSP)”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDescription()“Description of the item”Optional<String>getDisplayName()“Display name of the item”Optional<String>getHelpText()“Help text of the item”com.github.davidmoten.odata.client.CollectionPage<String>getInfoUrls()“List of links more info for the setting can be found at”com.github.davidmoten.odata.client.CollectionPage<String>getInfoUrls(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of links more info for the setting can be found at”com.github.davidmoten.odata.client.CollectionPage<String>getKeywords()“Tokens which to search settings on”com.github.davidmoten.odata.client.CollectionPage<String>getKeywords(com.github.davidmoten.odata.client.HttpRequestOptions options)“Tokens which to search settings on”Optional<String>getName()“Name of the item”Optional<DeviceManagementConfigurationSettingOccurrence>getOccurrence()“Indicates whether the setting is required or not”Optional<String>getOffsetUri()“Offset CSP Path from Base”com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationReferredSettingInformation>getReferredSettingInformationList()“List of referred setting information.”com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationReferredSettingInformation>getReferredSettingInformationList(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of referred setting information.”Optional<String>getRootDefinitionId()“Root setting definition if the setting is a child setting.”Optional<DeviceManagementConfigurationSettingUsage>getSettingUsage()“Setting type, for example, configuration and compliance”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<DeviceManagementConfigurationControlType>getUxBehavior()“Setting control type representation in the UX”Optional<String>getVersion()“Item Version”Optional<DeviceManagementConfigurationSettingVisibility>getVisibility()“Setting visibility scope to UX”StringodataTypeName()DeviceManagementConfigurationSettingDefinitionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementConfigurationSettingDefinitionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceManagementConfigurationSettingDefinitionwithAccessTypes(DeviceManagementConfigurationSettingAccessTypes accessTypes)Returns an immutable copy ofthiswith just theaccessTypesfield changed.DeviceManagementConfigurationSettingDefinitionwithApplicability(DeviceManagementConfigurationSettingApplicability applicability)Returns an immutable copy ofthiswith just theapplicabilityfield changed.DeviceManagementConfigurationSettingDefinitionwithBaseUri(String baseUri)Returns an immutable copy ofthiswith just thebaseUrifield changed.DeviceManagementConfigurationSettingDefinitionwithCategoryId(String categoryId)Returns an immutable copy ofthiswith just thecategoryIdfield changed.DeviceManagementConfigurationSettingDefinitionwithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.DeviceManagementConfigurationSettingDefinitionwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.DeviceManagementConfigurationSettingDefinitionwithHelpText(String helpText)Returns an immutable copy ofthiswith just thehelpTextfield changed.DeviceManagementConfigurationSettingDefinitionwithInfoUrls(List<String> infoUrls)Returns an immutable copy ofthiswith just theinfoUrlsfield changed.DeviceManagementConfigurationSettingDefinitionwithKeywords(List<String> keywords)Returns an immutable copy ofthiswith just thekeywordsfield changed.DeviceManagementConfigurationSettingDefinitionwithName(String name)Returns an immutable copy ofthiswith just thenamefield changed.DeviceManagementConfigurationSettingDefinitionwithOccurrence(DeviceManagementConfigurationSettingOccurrence occurrence)Returns an immutable copy ofthiswith just theoccurrencefield changed.DeviceManagementConfigurationSettingDefinitionwithOffsetUri(String offsetUri)Returns an immutable copy ofthiswith just theoffsetUrifield changed.DeviceManagementConfigurationSettingDefinitionwithReferredSettingInformationList(List<DeviceManagementConfigurationReferredSettingInformation> referredSettingInformationList)Returns an immutable copy ofthiswith just thereferredSettingInformationListfield changed.DeviceManagementConfigurationSettingDefinitionwithRootDefinitionId(String rootDefinitionId)Returns an immutable copy ofthiswith just therootDefinitionIdfield changed.DeviceManagementConfigurationSettingDefinitionwithSettingUsage(DeviceManagementConfigurationSettingUsage settingUsage)Returns an immutable copy ofthiswith just thesettingUsagefield changed.DeviceManagementConfigurationSettingDefinitionwithUnmappedField(String name, String value)DeviceManagementConfigurationSettingDefinitionwithUxBehavior(DeviceManagementConfigurationControlType uxBehavior)Returns an immutable copy ofthiswith just theuxBehaviorfield changed.DeviceManagementConfigurationSettingDefinitionwithVersion(String version)Returns an immutable copy ofthiswith just theversionfield changed.DeviceManagementConfigurationSettingDefinitionwithVisibility(DeviceManagementConfigurationSettingVisibility visibility)Returns an immutable copy ofthiswith just thevisibilityfield changed.
-
-
-
Field Detail
-
accessTypes
protected DeviceManagementConfigurationSettingAccessTypes accessTypes
-
applicability
protected DeviceManagementConfigurationSettingApplicability applicability
-
baseUri
protected String baseUri
-
categoryId
protected String categoryId
-
description
protected String description
-
displayName
protected String displayName
-
helpText
protected String helpText
-
infoUrlsNextLink
protected String infoUrlsNextLink
-
keywordsNextLink
protected String keywordsNextLink
-
name
protected String name
-
occurrence
protected DeviceManagementConfigurationSettingOccurrence occurrence
-
offsetUri
protected String offsetUri
-
referredSettingInformationList
protected List<DeviceManagementConfigurationReferredSettingInformation> referredSettingInformationList
-
referredSettingInformationListNextLink
protected String referredSettingInformationListNextLink
-
rootDefinitionId
protected String rootDefinitionId
-
settingUsage
protected DeviceManagementConfigurationSettingUsage settingUsage
-
uxBehavior
protected DeviceManagementConfigurationControlType uxBehavior
-
version
protected String version
-
visibility
protected DeviceManagementConfigurationSettingVisibility visibility
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDeviceManagementConfigurationSettingDefinition
public static DeviceManagementConfigurationSettingDefinition.Builder builderDeviceManagementConfigurationSettingDefinition()
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
-
getAccessTypes
public Optional<DeviceManagementConfigurationSettingAccessTypes> getAccessTypes()
“Read/write access mode of the setting”- Returns:
- property accessTypes
-
withAccessTypes
public DeviceManagementConfigurationSettingDefinition withAccessTypes(DeviceManagementConfigurationSettingAccessTypes accessTypes)
Returns an immutable copy ofthiswith just theaccessTypesfield 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.“Read/write access mode of the setting”
- Parameters:
accessTypes- new value ofaccessTypesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theaccessTypesfield changed
-
getApplicability
public Optional<DeviceManagementConfigurationSettingApplicability> getApplicability()
“Details which device setting is applicable on”- Returns:
- property applicability
-
withApplicability
public DeviceManagementConfigurationSettingDefinition withApplicability(DeviceManagementConfigurationSettingApplicability applicability)
Returns an immutable copy ofthiswith just theapplicabilityfield 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.“Details which device setting is applicable on”
- Parameters:
applicability- new value ofapplicabilityfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theapplicabilityfield changed
-
withBaseUri
public DeviceManagementConfigurationSettingDefinition withBaseUri(String baseUri)
Returns an immutable copy ofthiswith just thebaseUrifield 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.“Base CSP Path”
- Parameters:
baseUri- new value ofbaseUrifield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebaseUrifield changed
-
getCategoryId
public Optional<String> getCategoryId()
“Specifies the area group under which the setting is configured in a specified configuration service provider (CSP)”- Returns:
- property categoryId
-
withCategoryId
public DeviceManagementConfigurationSettingDefinition withCategoryId(String categoryId)
Returns an immutable copy ofthiswith just thecategoryIdfield 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.“Specifies the area group under which the setting is configured in a specified configuration service provider (CSP)”
- Parameters:
categoryId- new value ofcategoryIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecategoryIdfield changed
-
getDescription
public Optional<String> getDescription()
“Description of the item”- Returns:
- property description
-
withDescription
public DeviceManagementConfigurationSettingDefinition 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 DeviceManagementConfigurationSettingDefinition 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 DeviceManagementConfigurationSettingDefinition 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
-
getInfoUrls
public com.github.davidmoten.odata.client.CollectionPage<String> getInfoUrls()
“List of links more info for the setting can be found at”- Returns:
- property infoUrls
-
withInfoUrls
public DeviceManagementConfigurationSettingDefinition withInfoUrls(List<String> infoUrls)
Returns an immutable copy ofthiswith just theinfoUrlsfield 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 links more info for the setting can be found at”
- Parameters:
infoUrls- new value ofinfoUrlsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinfoUrlsfield changed
-
getInfoUrls
public com.github.davidmoten.odata.client.CollectionPage<String> getInfoUrls(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of links more info for the setting can be found at”- Parameters:
options- specify connect and read timeouts- Returns:
- property infoUrls
-
getKeywords
public com.github.davidmoten.odata.client.CollectionPage<String> getKeywords()
“Tokens which to search settings on”- Returns:
- property keywords
-
withKeywords
public DeviceManagementConfigurationSettingDefinition withKeywords(List<String> keywords)
Returns an immutable copy ofthiswith just thekeywordsfield 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.“Tokens which to search settings on”
- Parameters:
keywords- new value ofkeywordsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekeywordsfield changed
-
getKeywords
public com.github.davidmoten.odata.client.CollectionPage<String> getKeywords(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Tokens which to search settings on”- Parameters:
options- specify connect and read timeouts- Returns:
- property keywords
-
withName
public DeviceManagementConfigurationSettingDefinition 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
-
getOccurrence
public Optional<DeviceManagementConfigurationSettingOccurrence> getOccurrence()
“Indicates whether the setting is required or not”- Returns:
- property occurrence
-
withOccurrence
public DeviceManagementConfigurationSettingDefinition withOccurrence(DeviceManagementConfigurationSettingOccurrence occurrence)
Returns an immutable copy ofthiswith just theoccurrencefield 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 whether the setting is required or not”
- Parameters:
occurrence- new value ofoccurrencefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoccurrencefield changed
-
getOffsetUri
public Optional<String> getOffsetUri()
“Offset CSP Path from Base”- Returns:
- property offsetUri
-
withOffsetUri
public DeviceManagementConfigurationSettingDefinition withOffsetUri(String offsetUri)
Returns an immutable copy ofthiswith just theoffsetUrifield 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.“Offset CSP Path from Base”
- Parameters:
offsetUri- new value ofoffsetUrifield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoffsetUrifield changed
-
getReferredSettingInformationList
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationReferredSettingInformation> getReferredSettingInformationList()
“List of referred setting information.”- Returns:
- property referredSettingInformationList
-
withReferredSettingInformationList
public DeviceManagementConfigurationSettingDefinition withReferredSettingInformationList(List<DeviceManagementConfigurationReferredSettingInformation> referredSettingInformationList)
Returns an immutable copy ofthiswith just thereferredSettingInformationListfield 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 referred setting information.”
- Parameters:
referredSettingInformationList- new value ofreferredSettingInformationListfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thereferredSettingInformationListfield changed
-
getReferredSettingInformationList
public com.github.davidmoten.odata.client.CollectionPage<DeviceManagementConfigurationReferredSettingInformation> getReferredSettingInformationList(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of referred setting information.”- Parameters:
options- specify connect and read timeouts- Returns:
- property referredSettingInformationList
-
getRootDefinitionId
public Optional<String> getRootDefinitionId()
“Root setting definition if the setting is a child setting.”- Returns:
- property rootDefinitionId
-
withRootDefinitionId
public DeviceManagementConfigurationSettingDefinition withRootDefinitionId(String rootDefinitionId)
Returns an immutable copy ofthiswith just therootDefinitionIdfield 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 setting definition if the setting is a child setting.”
- Parameters:
rootDefinitionId- new value ofrootDefinitionIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therootDefinitionIdfield changed
-
getSettingUsage
public Optional<DeviceManagementConfigurationSettingUsage> getSettingUsage()
“Setting type, for example, configuration and compliance”- Returns:
- property settingUsage
-
withSettingUsage
public DeviceManagementConfigurationSettingDefinition 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.“Setting type, for example, configuration and compliance”
- Parameters:
settingUsage- new value ofsettingUsagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesettingUsagefield changed
-
getUxBehavior
public Optional<DeviceManagementConfigurationControlType> getUxBehavior()
“Setting control type representation in the UX”- Returns:
- property uxBehavior
-
withUxBehavior
public DeviceManagementConfigurationSettingDefinition withUxBehavior(DeviceManagementConfigurationControlType uxBehavior)
Returns an immutable copy ofthiswith just theuxBehaviorfield 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.“Setting control type representation in the UX”
- Parameters:
uxBehavior- new value ofuxBehaviorfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuxBehaviorfield changed
-
withVersion
public DeviceManagementConfigurationSettingDefinition withVersion(String version)
Returns an immutable copy ofthiswith just theversionfield 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.“Item Version”
- Parameters:
version- new value ofversionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theversionfield changed
-
getVisibility
public Optional<DeviceManagementConfigurationSettingVisibility> getVisibility()
“Setting visibility scope to UX”- Returns:
- property visibility
-
withVisibility
public DeviceManagementConfigurationSettingDefinition withVisibility(DeviceManagementConfigurationSettingVisibility visibility)
Returns an immutable copy ofthiswith just thevisibilityfield 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.“Setting visibility scope to UX”
- Parameters:
visibility- new value ofvisibilityfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevisibilityfield changed
-
withUnmappedField
public DeviceManagementConfigurationSettingDefinition 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 DeviceManagementConfigurationSettingDefinition patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DeviceManagementConfigurationSettingDefinition put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-