class

QBittorrent::Model::RssFeed

Inherits JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

A leaf feed node of the rss/items tree.

The rss/items response is a heterogeneous, recursively nested object: folders map to nested objects, and feeds are the leaves modeled here. The tree as a whole is best consumed as Hash(String, JSON::Any) (see Api::Rss#items); this type is provided for conveniently deserializing a single feed node once you have located one in the tree — e.g. Model::RssFeed.from_json(node.to_json).

articles is only populated when rss/items was fetched with withData=true.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

articles

Feed articles (present only when fetched with withData=true).

Source
articles=(articles : Array(RssArticle) | Nil)

Feed articles (present only when fetched with withData=true).

Source
has_error

Whether the last refresh errored.

Source
has_error=(has_error : Bool | Nil)

Whether the last refresh errored.

Source
is_loading

Whether the feed is currently loading.

Source
is_loading=(is_loading : Bool | Nil)

Whether the feed is currently loading.

Source
last_build_date

Datetime the feed was last built/refreshed.

Source
last_build_date=(last_build_date : String | Nil)

Datetime the feed was last built/refreshed.

Source
title

Feed title.

Source
title=(title : String | Nil)

Feed title.

Source
uid

Stable unique identifier of the feed.

Source
uid=(uid : String | Nil)

Stable unique identifier of the feed.

Source
url

Feed URL.

Source
url=(url : String | Nil)

Feed URL.

Source