$ItemsClient class

Constructors

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

$listArticles_Request({int? type, int? id, int? getRead, int? batchSize, int? offset, int? oldestFirst}) → Request
Returns a DynamiteRequest backing the listArticles operation. Throws a DynamiteApiException if the API call does not return an expected status code.
$listArticles_Serializer() → DynamiteSerializer<ListArticles, void>
Builds a serializer to parse the response of $listArticles_Request.
$listUpdatedArticles_Request({int? type, int? id, int? lastModified}) → Request
Returns a DynamiteRequest backing the listUpdatedArticles operation. Throws a DynamiteApiException if the API call does not return an expected status code.
$listUpdatedArticles_Serializer() → DynamiteSerializer<ListArticles, void>
Builds a serializer to parse the response of $listUpdatedArticles_Request.
$markArticleAsRead_Request({required int itemId}) → Request
Returns a DynamiteRequest backing the markArticleAsRead operation. Throws a DynamiteApiException if the API call does not return an expected status code.
$markArticleAsRead_Serializer() → DynamiteSerializer<void, void>
Builds a serializer to parse the response of $markArticleAsRead_Request.
$markArticleAsUnread_Request({required int itemId}) → Request
Returns a DynamiteRequest backing the markArticleAsUnread operation. Throws a DynamiteApiException if the API call does not return an expected status code.
$markArticleAsUnread_Serializer() → DynamiteSerializer<void, void>
Builds a serializer to parse the response of $markArticleAsUnread_Request.
$readMultipleArticles_Request({required ReadMultipleArticlesRequestApplicationJson $body}) → Request
Returns a DynamiteRequest backing the readMultipleArticles operation. Throws a DynamiteApiException if the API call does not return an expected status code.
$readMultipleArticles_Serializer() → DynamiteSerializer<void, void>
Builds a serializer to parse the response of $readMultipleArticles_Request.
$starArticle_Request({required int itemId}) → Request
Returns a DynamiteRequest backing the starArticle operation. Throws a DynamiteApiException if the API call does not return an expected status code.
$starArticle_Serializer() → DynamiteSerializer<void, void>
Builds a serializer to parse the response of $starArticle_Request.
$starMultipleArticles_Request({required StarMultipleArticlesRequestApplicationJson $body}) → Request
Returns a DynamiteRequest backing the starMultipleArticles operation. Throws a DynamiteApiException if the API call does not return an expected status code.
$starMultipleArticles_Serializer() → DynamiteSerializer<void, void>
Builds a serializer to parse the response of $starMultipleArticles_Request.
$unreadMultipleArticles_Request({required UnreadMultipleArticlesRequestApplicationJson $body}) → Request
Returns a DynamiteRequest backing the unreadMultipleArticles operation. Throws a DynamiteApiException if the API call does not return an expected status code.
$unreadMultipleArticles_Serializer() → DynamiteSerializer<void, void>
Builds a serializer to parse the response of $unreadMultipleArticles_Request.
$unstarArticle_Request({required int itemId}) → Request
Returns a DynamiteRequest backing the unstarArticle operation. Throws a DynamiteApiException if the API call does not return an expected status code.
$unstarArticle_Serializer() → DynamiteSerializer<void, void>
Builds a serializer to parse the response of $unstarArticle_Request.
$unstarMultipleArticles_Request({required UnstarMultipleArticlesRequestApplicationJson $body}) → Request
Returns a DynamiteRequest backing the unstarMultipleArticles operation. Throws a DynamiteApiException if the API call does not return an expected status code.
$unstarMultipleArticles_Serializer() → DynamiteSerializer<void, void>
Builds a serializer to parse the response of $unstarMultipleArticles_Request.
listArticles({int? type, int? id, int? getRead, int? batchSize, int? offset, int? oldestFirst}) Future<DynamiteResponse<ListArticles, 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.
listUpdatedArticles({int? type, int? id, int? lastModified}) Future<DynamiteResponse<ListArticles, 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.
markArticleAsRead({required int itemId}) 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.
markArticleAsUnread({required int itemId}) 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
readMultipleArticles({required ReadMultipleArticlesRequestApplicationJson $body}) 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.
starArticle({required int itemId}) 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.
starMultipleArticles({required StarMultipleArticlesRequestApplicationJson $body}) 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
unreadMultipleArticles({required UnreadMultipleArticlesRequestApplicationJson $body}) 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.
unstarArticle({required int itemId}) 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.
unstarMultipleArticles({required UnstarMultipleArticlesRequestApplicationJson $body}) 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.

Operators

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