Package odata.msgraph.client.complex
Class Win32LobAppRule
- java.lang.Object
-
- odata.msgraph.client.complex.Win32LobAppRule
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
Win32LobAppFileSystemRule,Win32LobAppPowerShellScriptRule,Win32LobAppProductCodeRule,Win32LobAppRegistryRule
public class Win32LobAppRule extends Object implements com.github.davidmoten.odata.client.ODataType
“A base complex type to store the detection or requirement rule data for a Win32 LOB app.”
-
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected Win32LobAppRuleTyperuleTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedWin32LobAppRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Win32LobAppRuleType>getRuleType()“The rule type indicating the purpose of the rule.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()Win32LobAppRulewithRuleType(Win32LobAppRuleType ruleType)Returns an immutable copy ofthiswith just theruleTypefield changed.Win32LobAppRulewithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
ruleType
protected Win32LobAppRuleType ruleType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getRuleType
public Optional<Win32LobAppRuleType> getRuleType()
“The rule type indicating the purpose of the rule.”- Returns:
- property ruleType
-
withRuleType
public Win32LobAppRule withRuleType(Win32LobAppRuleType ruleType)
Returns an immutable copy ofthiswith just theruleTypefield 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.“The rule type indicating the purpose of the rule.”
- Parameters:
ruleType- new value ofruleTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theruleTypefield changed
-
withUnmappedField
public Win32LobAppRule withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
-