Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Comparison Value.The Display Name.The Enforce Signature Check.The Operation Type.The Operator.The Run As32Bit.The Run As Account.The Script Content.Fields inherited from class com.microsoft.graph.models.Win32LobAppRule
oDataType, ruleType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Win32LobAppRule
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
comparisonValue
@SerializedName(value="comparisonValue", alternate="ComparisonValue") @Expose @Nullable public String comparisonValueThe 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 displayNameThe 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 enforceSignatureCheckThe Enforce Signature Check. A value indicating whether a signature check is enforced. -
operationType
@SerializedName(value="operationType", alternate="OperationType") @Expose @Nullable public Win32LobAppPowerShellScriptRuleOperationType operationTypeThe 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 operatorThe 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 runAs32BitThe Run As32Bit. A value indicating whether the script should run as 32-bit. -
runAsAccount
@SerializedName(value="runAsAccount", alternate="RunAsAccount") @Expose @Nullable public RunAsAccountType runAsAccountThe 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 scriptContentThe 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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classWin32LobAppRule
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-