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.
  • Constructor Details

    • Win32LobAppFileSystemRule

      public Win32LobAppFileSystemRule()
      Instantiates a new Win32LobAppFileSystemRule and 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

      @Nullable public Boolean 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

      @Nullable public String 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Win32LobAppRule
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFileOrFolderName

      @Nullable public String getFileOrFolderName()
      Gets the fileOrFolderName property value. The file or folder name to look up.
      Returns:
      a String
    • getOperationType

      @Nullable public Win32LobAppFileSystemOperationType 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

      @Nullable public Win32LobAppRuleOperator getOperator()
      Gets the operator property value. Contains properties for detection operator.
      Returns:
      a Win32LobAppRuleOperator
    • getPath

      @Nullable public String 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Win32LobAppRule
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setCheck32BitOn64System

      public void setCheck32BitOn64System(@Nullable Boolean value)
      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

      public void setComparisonValue(@Nullable String value)
      Sets the comparisonValue property value. The file or folder comparison value.
      Parameters:
      value - Value to set for the comparisonValue property.
    • setFileOrFolderName

      public void setFileOrFolderName(@Nullable String value)
      Sets the fileOrFolderName property value. The file or folder name to look up.
      Parameters:
      value - Value to set for the fileOrFolderName property.
    • setOperationType

      public void setOperationType(@Nullable Win32LobAppFileSystemOperationType value)
      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

      public void setOperator(@Nullable Win32LobAppRuleOperator value)
      Sets the operator property value. Contains properties for detection operator.
      Parameters:
      value - Value to set for the operator property.
    • setPath

      public void setPath(@Nullable String value)
      Sets the path property value. The file or folder path to look up.
      Parameters:
      value - Value to set for the path property.