FunctionApprovalRequestContent class
A request for user approval of a function call.
This is an experimental feature.
- Inheritance
-
- Object
- AIContent
- UserInputRequestContent
- FunctionApprovalRequestContent
Constructors
- FunctionApprovalRequestContent({required String id, required FunctionCallContent functionCall, Object? rawRepresentation, AdditionalPropertiesDictionary? additionalProperties})
- Creates a new FunctionApprovalRequestContent.
Properties
- additionalProperties ↔ AdditionalPropertiesDictionary?
-
Additional properties.
getter/setter pairinherited
- functionCall → FunctionCallContent
-
The function call requiring approval.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The unique identifier for this input request.
finalinherited
- rawRepresentation ↔ Object?
-
The underlying implementation-specific representation of this content.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createResponse(
bool approved, [String? reason]) → FunctionApprovalResponseContent - Creates a response to this approval request.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited