$FoldersClient class

Constructors

$FoldersClient($Client _rootClient)
Creates a new DynamiteClient for folders 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

$createFolder_Request({required String name}) → Request
Returns a DynamiteRequest backing the createFolder operation. Throws a DynamiteApiException if the API call does not return an expected status code.
$createFolder_Serializer() → DynamiteSerializer<ListFolders, void>
Builds a serializer to parse the response of $createFolder_Request.
$deleteFolder_Request({required int folderId}) → Request
Returns a DynamiteRequest backing the deleteFolder operation. Throws a DynamiteApiException if the API call does not return an expected status code.
$deleteFolder_Serializer() → DynamiteSerializer<void, void>
Builds a serializer to parse the response of $deleteFolder_Request.
$listFolders_Request() → Request
Returns a DynamiteRequest backing the listFolders operation. Throws a DynamiteApiException if the API call does not return an expected status code.
$listFolders_Serializer() → DynamiteSerializer<ListFolders, void>
Builds a serializer to parse the response of $listFolders_Request.
$markFolderAsRead_Request({required int folderId, required int newestItemId}) → Request
Returns a DynamiteRequest backing the markFolderAsRead operation. Throws a DynamiteApiException if the API call does not return an expected status code.
$markFolderAsRead_Serializer() → DynamiteSerializer<void, void>
Builds a serializer to parse the response of $markFolderAsRead_Request.
$renameFolder_Request({required int folderId, required String name}) → Request
Returns a DynamiteRequest backing the renameFolder operation. Throws a DynamiteApiException if the API call does not return an expected status code.
$renameFolder_Serializer() → DynamiteSerializer<void, void>
Builds a serializer to parse the response of $renameFolder_Request.
createFolder({required String name}) Future<DynamiteResponse<ListFolders, void>>
Returns a Future containing a DynamiteResponse with the status code, deserialized body and headers. Throws a DynamiteApiException if the API call does not return an expected status code.
deleteFolder({required int folderId}) Future<DynamiteResponse<void, void>>
Returns a Future containing a DynamiteResponse with the status code, deserialized body and headers. Throws a DynamiteApiException if the API call does not return an expected status code.
listFolders() Future<DynamiteResponse<ListFolders, void>>
Returns a Future containing a DynamiteResponse with the status code, deserialized body and headers. Throws a DynamiteApiException if the API call does not return an expected status code.
markFolderAsRead({required int folderId, required int newestItemId}) Future<DynamiteResponse<void, void>>
Returns a Future containing a DynamiteResponse with the status code, deserialized body and headers. Throws a DynamiteApiException if the API call does not return an expected status code.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renameFolder({required int folderId, required String name}) Future<DynamiteResponse<void, void>>
Returns a Future containing a DynamiteResponse with the status code, deserialized body and headers. Throws a DynamiteApiException if the API call does not return an expected status code.
toString() String
A string representation of this object.
inherited

Operators

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