Class Win32LobAppRequirement
- java.lang.Object
-
- odata.msgraph.client.beta.complex.Win32LobAppRequirement
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
Win32LobAppFileSystemRequirement,Win32LobAppPowerShellScriptRequirement,Win32LobAppRegistryRequirement
public class Win32LobAppRequirement extends Object implements com.github.davidmoten.odata.client.ODataType
“Base class to detect a Win32 App”
-
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringdetectionValueprotected StringodataTypeprotected Win32LobAppDetectionOperatoroperatorprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedWin32LobAppRequirement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>getDetectionValue()“The detection value”Optional<Win32LobAppDetectionOperator>getOperator()“The operator for detection”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()Win32LobAppRequirementwithDetectionValue(String detectionValue)Returns an immutable copy ofthiswith just thedetectionValuefield changed.Win32LobAppRequirementwithOperator(Win32LobAppDetectionOperator operator)Returns an immutable copy ofthiswith just theoperatorfield changed.Win32LobAppRequirementwithUnmappedField(String name, String 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
-
detectionValue
protected String detectionValue
-
operator
protected Win32LobAppDetectionOperator operator
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getDetectionValue
public Optional<String> getDetectionValue()
“The detection value”- Returns:
- property detectionValue
-
withDetectionValue
public Win32LobAppRequirement withDetectionValue(String detectionValue)
Returns an immutable copy ofthiswith just thedetectionValuefield 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 detection value”
- Parameters:
detectionValue- new value ofdetectionValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedetectionValuefield changed
-
getOperator
public Optional<Win32LobAppDetectionOperator> getOperator()
“The operator for detection”- Returns:
- property operator
-
withOperator
public Win32LobAppRequirement withOperator(Win32LobAppDetectionOperator operator)
Returns an immutable copy ofthiswith just theoperatorfield 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 operator for detection”
- Parameters:
operator- new value ofoperatorfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoperatorfield changed
-
withUnmappedField
public Win32LobAppRequirement withUnmappedField(String name, String 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
-
-