Package odata.msgraph.client.beta.entity
Class DeviceManagementConfigurationRedirectSettingDefinition
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceManagementConfigurationSettingDefinition
-
- odata.msgraph.client.beta.entity.DeviceManagementConfigurationRedirectSettingDefinition
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class DeviceManagementConfigurationRedirectSettingDefinition extends DeviceManagementConfigurationSettingDefinition implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceManagementConfigurationRedirectSettingDefinition.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringdeepLinkprotected StringredirectMessageprotected StringredirectReason-
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 protectedDeviceManagementConfigurationRedirectSettingDefinition()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceManagementConfigurationRedirectSettingDefinition.BuilderbuilderDeviceManagementConfigurationRedirectSettingDefinition()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<String>getDeepLink()“A deep link that points to the specific location in the Intune console where feature support must be managed from.”Optional<String>getRedirectMessage()“A message that explains that clicking the link will redirect the user to a supported page to manage the settings.”Optional<String>getRedirectReason()“Indicates the reason for redirecting the user to an alternative location in the console.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DeviceManagementConfigurationRedirectSettingDefinitionpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DeviceManagementConfigurationRedirectSettingDefinitionput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()DeviceManagementConfigurationRedirectSettingDefinitionwithDeepLink(String deepLink)Returns an immutable copy ofthiswith just thedeepLinkfield changed.DeviceManagementConfigurationRedirectSettingDefinitionwithRedirectMessage(String redirectMessage)Returns an immutable copy ofthiswith just theredirectMessagefield changed.DeviceManagementConfigurationRedirectSettingDefinitionwithRedirectReason(String redirectReason)Returns an immutable copy ofthiswith just theredirectReasonfield changed.DeviceManagementConfigurationRedirectSettingDefinitionwithUnmappedField(String name, String value)-
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 classDeviceManagementConfigurationSettingDefinition
-
builderDeviceManagementConfigurationRedirectSettingDefinition
public static DeviceManagementConfigurationRedirectSettingDefinition.Builder builderDeviceManagementConfigurationRedirectSettingDefinition()
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 classDeviceManagementConfigurationSettingDefinition
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceManagementConfigurationSettingDefinition
-
getDeepLink
public Optional<String> getDeepLink()
“A deep link that points to the specific location in the Intune console where feature support must be managed from.”- Returns:
- property deepLink
-
withDeepLink
public DeviceManagementConfigurationRedirectSettingDefinition withDeepLink(String deepLink)
Returns an immutable copy ofthiswith just thedeepLinkfield 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.“A deep link that points to the specific location in the Intune console where feature support must be managed from.”
- Parameters:
deepLink- new value ofdeepLinkfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeepLinkfield changed
-
getRedirectMessage
public Optional<String> getRedirectMessage()
“A message that explains that clicking the link will redirect the user to a supported page to manage the settings.”- Returns:
- property redirectMessage
-
withRedirectMessage
public DeviceManagementConfigurationRedirectSettingDefinition withRedirectMessage(String redirectMessage)
Returns an immutable copy ofthiswith just theredirectMessagefield 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.“A message that explains that clicking the link will redirect the user to a supported page to manage the settings.”
- Parameters:
redirectMessage- new value ofredirectMessagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theredirectMessagefield changed
-
getRedirectReason
public Optional<String> getRedirectReason()
“Indicates the reason for redirecting the user to an alternative location in the console. For example: WiFi profiles are not supported in the settings catalog and must be created with a template policy.”- Returns:
- property redirectReason
-
withRedirectReason
public DeviceManagementConfigurationRedirectSettingDefinition withRedirectReason(String redirectReason)
Returns an immutable copy ofthiswith just theredirectReasonfield 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 the reason for redirecting the user to an alternative location in the console. For example: WiFi profiles are not supported in the settings catalog and must be created with a template policy.”
- Parameters:
redirectReason- new value ofredirectReasonfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theredirectReasonfield changed
-
withUnmappedField
public DeviceManagementConfigurationRedirectSettingDefinition withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceManagementConfigurationSettingDefinition
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceManagementConfigurationSettingDefinition
-
patch
public DeviceManagementConfigurationRedirectSettingDefinition patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceManagementConfigurationSettingDefinition- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public DeviceManagementConfigurationRedirectSettingDefinition put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceManagementConfigurationSettingDefinition- 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 classDeviceManagementConfigurationSettingDefinition
-
-