$TextProcessingApiClient class

Constructors

$TextProcessingApiClient($Client _rootClient)
Creates a new DynamiteClient for text_processing_api requests.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

$deleteTask_Request({required int id, bool? oCSAPIRequest}) → Request
This endpoint allows to delete a scheduled task for a user.
$deleteTask_Serializer() → DynamiteSerializer<TextProcessingApiDeleteTaskResponseApplicationJson, void>
Builds a serializer to parse the response of $deleteTask_Request.
$getTask_Request({required int id, bool? oCSAPIRequest}) → Request
This endpoint allows checking the status and results of a task. Tasks are removed 1 week after receiving their last update.
$getTask_Serializer() → DynamiteSerializer<TextProcessingApiGetTaskResponseApplicationJson, void>
Builds a serializer to parse the response of $getTask_Request.
$listTasksByApp_Request({required String appId, String? identifier, bool? oCSAPIRequest}) → Request
This endpoint returns a list of tasks of a user that are related with a specific appId and optionally with an identifier.
$listTasksByApp_Serializer() → DynamiteSerializer<TextProcessingApiListTasksByAppResponseApplicationJson, void>
Builds a serializer to parse the response of $listTasksByApp_Request.
$schedule_Request({required String input, required String type, required String appId, String? identifier, bool? oCSAPIRequest}) → Request
This endpoint allows scheduling a language model task.
$schedule_Serializer() → DynamiteSerializer<TextProcessingApiScheduleResponseApplicationJson, void>
Builds a serializer to parse the response of $schedule_Request.
$taskTypes_Request({bool? oCSAPIRequest}) → Request
This endpoint returns all available LanguageModel task types.
$taskTypes_Serializer() → DynamiteSerializer<TextProcessingApiTaskTypesResponseApplicationJson, void>
Builds a serializer to parse the response of $taskTypes_Request.
deleteTask({required int id, bool? oCSAPIRequest}) Future<DynamiteResponse<TextProcessingApiDeleteTaskResponseApplicationJson, void>>
This endpoint allows to delete a scheduled task for a user.
getTask({required int id, bool? oCSAPIRequest}) Future<DynamiteResponse<TextProcessingApiGetTaskResponseApplicationJson, void>>
This endpoint allows checking the status and results of a task. Tasks are removed 1 week after receiving their last update.
listTasksByApp({required String appId, String? identifier, bool? oCSAPIRequest}) Future<DynamiteResponse<TextProcessingApiListTasksByAppResponseApplicationJson, void>>
This endpoint returns a list of tasks of a user that are related with a specific appId and optionally with an identifier.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
schedule({required String input, required String type, required String appId, String? identifier, bool? oCSAPIRequest}) Future<DynamiteResponse<TextProcessingApiScheduleResponseApplicationJson, void>>
This endpoint allows scheduling a language model task.
taskTypes({bool? oCSAPIRequest}) Future<DynamiteResponse<TextProcessingApiTaskTypesResponseApplicationJson, void>>
This endpoint returns all available LanguageModel task types.
toString() String
A string representation of this object.
inherited

Operators

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