Class Win32LobAppPowerShellScriptRule

java.lang.Object
com.microsoft.graph.models.Win32LobAppRule
com.microsoft.graph.models.Win32LobAppPowerShellScriptRule
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class Win32LobAppPowerShellScriptRule extends Win32LobAppRule implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Win32Lob App Power Shell Script Rule.
  • Field Details

    • comparisonValue

      @SerializedName(value="comparisonValue", alternate="ComparisonValue") @Expose @Nullable public String comparisonValue
      The Comparison Value. The script output comparison value. Do not specify a value if the rule is used for detection.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. The display name for the rule. Do not specify this value if the rule is used for detection.
    • enforceSignatureCheck

      @SerializedName(value="enforceSignatureCheck", alternate="EnforceSignatureCheck") @Expose @Nullable public Boolean enforceSignatureCheck
      The Enforce Signature Check. A value indicating whether a signature check is enforced.
    • operationType

      @SerializedName(value="operationType", alternate="OperationType") @Expose @Nullable public Win32LobAppPowerShellScriptRuleOperationType operationType
      The Operation Type. The script output comparison operation type. Use NotConfigured (the default value) if the rule is used for detection. Possible values are: notConfigured, string, dateTime, integer, float, version, boolean.
    • operator

      @SerializedName(value="operator", alternate="Operator") @Expose @Nullable public Win32LobAppRuleOperator operator
      The Operator. The script output operator. Use NotConfigured (the default value) if the rule is used for detection. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual.
    • runAs32Bit

      @SerializedName(value="runAs32Bit", alternate="RunAs32Bit") @Expose @Nullable public Boolean runAs32Bit
      The Run As32Bit. A value indicating whether the script should run as 32-bit.
    • runAsAccount

      @SerializedName(value="runAsAccount", alternate="RunAsAccount") @Expose @Nullable public RunAsAccountType runAsAccount
      The Run As Account. The execution context of the script. Do not specify this value if the rule is used for detection. Script detection rules will run in the same context as the associated app install context. Possible values are: system, user.
    • scriptContent

      @SerializedName(value="scriptContent", alternate="ScriptContent") @Expose @Nullable public String scriptContent
      The Script Content. The base64-encoded script content.
  • Constructor Details

    • Win32LobAppPowerShellScriptRule

      public Win32LobAppPowerShellScriptRule()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Win32LobAppRule
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to