GuardrailCodeCallbackAfterAgentCallback class
Constructors
-
GuardrailCodeCallbackAfterAgentCallback({Input<
String?> ? description, Input<bool?> ? disabled, required Input<String> pythonCode}) -
Creates a new GuardrailCodeCallbackAfterAgentCallback.
descriptionHuman-readable description of the callback.disabledWhether the callback is disabled. Disabled callbacks are ignored by thepythonCodeThe python code to execute for the callback.const -
GuardrailCodeCallbackAfterAgentCallback.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
description
→ Input<
String?> ? -
Human-readable description of the callback.
final
-
disabled
→ Input<
bool?> ? -
Whether the callback is disabled. Disabled callbacks are ignored by the
agent.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
pythonCode
→ Input<
String> -
The python code to execute for the callback.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited