Package com.microsoft.graph.models
Class Win32LobAppFileSystemRule
java.lang.Object
com.microsoft.graph.models.Win32LobAppRule
com.microsoft.graph.models.Win32LobAppFileSystemRule
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Win32LobAppFileSystemRule
extends Win32LobAppRule
implements com.microsoft.kiota.serialization.Parsable
A complex type to store file or folder rule data for a Win32 LOB app.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Win32LobAppRule
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Win32LobAppFileSystemRulecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the check32BitOn64System property value.Gets the comparisonValue property value.The deserialization information for the current modelGets the fileOrFolderName property value.Gets the operationType property value.Gets the operator property value.getPath()Gets the path property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetCheck32BitOn64System(Boolean value) Sets the check32BitOn64System property value.voidsetComparisonValue(String value) Sets the comparisonValue property value.voidsetFileOrFolderName(String value) Sets the fileOrFolderName property value.voidSets the operationType property value.voidSets the operator property value.voidSets the path property value.Methods inherited from class com.microsoft.graph.models.Win32LobAppRule
getAdditionalData, getBackingStore, getOdataType, getRuleType, setAdditionalData, setBackingStore, setOdataType, setRuleType
-
Constructor Details
-
Win32LobAppFileSystemRule
public Win32LobAppFileSystemRule()Instantiates a newWin32LobAppFileSystemRuleand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Win32LobAppFileSystemRule createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
Win32LobAppFileSystemRule
-
getCheck32BitOn64System
Gets the check32BitOn64System property value. A value indicating whether to expand environment variables in the 32-bit context on 64-bit systems.- Returns:
- a
Boolean
-
getComparisonValue
Gets the comparisonValue property value. The file or folder comparison value.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classWin32LobAppRule- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getFileOrFolderName
Gets the fileOrFolderName property value. The file or folder name to look up.- Returns:
- a
String
-
getOperationType
Gets the operationType property value. A list of possible operations for rules used to make determinations about an application based on files or folders. Unless noted, can be used with either detection or requirement rules.- Returns:
- a
Win32LobAppFileSystemOperationType
-
getOperator
Gets the operator property value. Contains properties for detection operator.- Returns:
- a
Win32LobAppRuleOperator
-
getPath
Gets the path property value. The file or folder path to look up.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classWin32LobAppRule- Parameters:
writer- Serialization writer to use to serialize this model
-
setCheck32BitOn64System
Sets the check32BitOn64System property value. A value indicating whether to expand environment variables in the 32-bit context on 64-bit systems.- Parameters:
value- Value to set for the check32BitOn64System property.
-
setComparisonValue
Sets the comparisonValue property value. The file or folder comparison value.- Parameters:
value- Value to set for the comparisonValue property.
-
setFileOrFolderName
Sets the fileOrFolderName property value. The file or folder name to look up.- Parameters:
value- Value to set for the fileOrFolderName property.
-
setOperationType
Sets the operationType property value. A list of possible operations for rules used to make determinations about an application based on files or folders. Unless noted, can be used with either detection or requirement rules.- Parameters:
value- Value to set for the operationType property.
-
setOperator
Sets the operator property value. Contains properties for detection operator.- Parameters:
value- Value to set for the operator property.
-
setPath
Sets the path property value. The file or folder path to look up.- Parameters:
value- Value to set for the path property.
-