FunctionApprovalResponseContent class

A user's response to a function approval request.

This is an experimental feature.

Inheritance

Constructors

FunctionApprovalResponseContent({required String id, required bool approved, required FunctionCallContent functionCall, String? reason, Object? rawRepresentation, AdditionalPropertiesDictionary? additionalProperties})
Creates a new FunctionApprovalResponseContent.

Properties

additionalProperties AdditionalPropertiesDictionary?
Additional properties.
getter/setter pairinherited
approved bool
Whether the function call was approved.
final
functionCall FunctionCallContent
The function call that was approved or denied.
final
hashCode int
The hash code for this object.
no setterinherited
id String
The unique identifier matching the corresponding request.
finalinherited
rawRepresentation Object?
The underlying implementation-specific representation of this content.
getter/setter pairinherited
reason String?
An optional reason for the decision.
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
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited