Package odata.msgraph.client.complex
Class Win32LobAppFileSystemRule
- java.lang.Object
-
- odata.msgraph.client.complex.Win32LobAppRule
-
- odata.msgraph.client.complex.Win32LobAppFileSystemRule
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class Win32LobAppFileSystemRule extends Win32LobAppRule implements com.github.davidmoten.odata.client.ODataType
“A complex type to store file or folder rule data for a Win32 LOB app.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWin32LobAppFileSystemRule.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Booleancheck32BitOn64Systemprotected StringcomparisonValueprotected StringfileOrFolderNameprotected Win32LobAppFileSystemOperationTypeoperationTypeprotected Win32LobAppRuleOperatoroperatorprotected Stringpath-
Fields inherited from class odata.msgraph.client.complex.Win32LobAppRule
contextPath, odataType, ruleType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWin32LobAppFileSystemRule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Win32LobAppFileSystemRule.BuilderbuilderWin32LobAppFileSystemRule()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getCheck32BitOn64System()“A value indicating whether to expand environment variables in the 32-bit context on 64-bit systems.”Optional<String>getComparisonValue()“The file or folder comparison value.”Optional<String>getFileOrFolderName()“The file or folder name to look up.”Optional<Win32LobAppFileSystemOperationType>getOperationType()“The file system operation type.”Optional<Win32LobAppRuleOperator>getOperator()“The operator for file or folder detection.”Optional<String>getPath()“The file or folder path to look up.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()Win32LobAppFileSystemRulewithCheck32BitOn64System(Boolean check32BitOn64System)Returns an immutable copy ofthiswith just thecheck32BitOn64Systemfield changed.Win32LobAppFileSystemRulewithComparisonValue(String comparisonValue)Returns an immutable copy ofthiswith just thecomparisonValuefield changed.Win32LobAppFileSystemRulewithFileOrFolderName(String fileOrFolderName)Returns an immutable copy ofthiswith just thefileOrFolderNamefield changed.Win32LobAppFileSystemRulewithOperationType(Win32LobAppFileSystemOperationType operationType)Returns an immutable copy ofthiswith just theoperationTypefield changed.Win32LobAppFileSystemRulewithOperator(Win32LobAppRuleOperator operator)Returns an immutable copy ofthiswith just theoperatorfield changed.Win32LobAppFileSystemRulewithPath(String path)Returns an immutable copy ofthiswith just thepathfield changed.Win32LobAppFileSystemRulewithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.complex.Win32LobAppRule
getRuleType, withRuleType
-
-
-
-
Field Detail
-
check32BitOn64System
protected Boolean check32BitOn64System
-
comparisonValue
protected String comparisonValue
-
fileOrFolderName
protected String fileOrFolderName
-
operationType
protected Win32LobAppFileSystemOperationType operationType
-
operator
protected Win32LobAppRuleOperator operator
-
path
protected String path
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classWin32LobAppRule
-
getCheck32BitOn64System
public Optional<Boolean> getCheck32BitOn64System()
“A value indicating whether to expand environment variables in the 32-bit context on 64-bit systems.”- Returns:
- property check32BitOn64System
-
withCheck32BitOn64System
public Win32LobAppFileSystemRule withCheck32BitOn64System(Boolean check32BitOn64System)
Returns an immutable copy ofthiswith just thecheck32BitOn64Systemfield 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 value indicating whether to expand environment variables in the 32-bit context on 64-bit systems.”
- Parameters:
check32BitOn64System- new value ofcheck32BitOn64Systemfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecheck32BitOn64Systemfield changed
-
getComparisonValue
public Optional<String> getComparisonValue()
“The file or folder comparison value.”- Returns:
- property comparisonValue
-
withComparisonValue
public Win32LobAppFileSystemRule withComparisonValue(String comparisonValue)
Returns an immutable copy ofthiswith just thecomparisonValuefield 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 file or folder comparison value.”
- Parameters:
comparisonValue- new value ofcomparisonValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecomparisonValuefield changed
-
getFileOrFolderName
public Optional<String> getFileOrFolderName()
“The file or folder name to look up.”- Returns:
- property fileOrFolderName
-
withFileOrFolderName
public Win32LobAppFileSystemRule withFileOrFolderName(String fileOrFolderName)
Returns an immutable copy ofthiswith just thefileOrFolderNamefield 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 file or folder name to look up.”
- Parameters:
fileOrFolderName- new value offileOrFolderNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefileOrFolderNamefield changed
-
getOperationType
public Optional<Win32LobAppFileSystemOperationType> getOperationType()
“The file system operation type.”- Returns:
- property operationType
-
withOperationType
public Win32LobAppFileSystemRule withOperationType(Win32LobAppFileSystemOperationType operationType)
Returns an immutable copy ofthiswith just theoperationTypefield 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 file system operation type.”
- Parameters:
operationType- new value ofoperationTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoperationTypefield changed
-
getOperator
public Optional<Win32LobAppRuleOperator> getOperator()
“The operator for file or folder detection.”- Returns:
- property operator
-
withOperator
public Win32LobAppFileSystemRule withOperator(Win32LobAppRuleOperator 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 file or folder detection.”
- Parameters:
operator- new value ofoperatorfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoperatorfield changed
-
getPath
public Optional<String> getPath()
“The file or folder path to look up.”- Returns:
- property path
-
withPath
public Win32LobAppFileSystemRule withPath(String path)
Returns an immutable copy ofthiswith just thepathfield 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 file or folder path to look up.”
- Parameters:
path- new value ofpathfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepathfield changed
-
withUnmappedField
public Win32LobAppFileSystemRule withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classWin32LobAppRule
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classWin32LobAppRule
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classWin32LobAppRule
-
builderWin32LobAppFileSystemRule
public static Win32LobAppFileSystemRule.Builder builderWin32LobAppFileSystemRule()
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
-
toString
public String toString()
- Overrides:
toStringin classWin32LobAppRule
-
-