WafRuleRedirect class
WafRuleRedirect
- Implemented types
Constructors
-
WafRuleRedirect({required String $id, required String $createdAt, required String $updatedAt, required String name, required String description, required String teamId, required String projectId, required String resourceType, required String resourceId, required WafRuleAction action, required int priority, required bool enabled, required List<
Map> conditions, required Map<String, dynamic> config, required String location, required int statusCode}) -
WafRuleRedirect.fromMap(Map<
String, dynamic> map) -
factory
Properties
- $createdAt → String
-
WAF rule creation time in ISO 8601 format.
final
- $id → String
-
Rule ID.
final
- $updatedAt → String
-
WAF rule last update time in ISO 8601 format.
final
- action → WafRuleAction
-
Action performed when the rule matches.
final
-
conditions
→ List<
Map> -
List of conditions evaluated for this rule.
final
-
config
→ Map<
String, dynamic> -
Action specific configuration.
final
- description → String
-
Optional description for the rule.
final
- enabled → bool
-
Whether the rule is active.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- location → String
-
Target location for the redirect.
final
- name → String
-
Human friendly rule name.
final
- priority → int
-
Evaluation priority. Lower values execute earlier.
final
- projectId → String
-
Project ID.
final
- resourceId → String
-
Resource identifier. Empty for API-wide rules.
final
- resourceType → String
-
Resource type the rule is scoped to.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int
-
HTTP status code used for the redirect.
final
- teamId → String
-
Team ID.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited