struct

Srcom::Series

Inherits JSON::Serializable / Struct / Value / Object

Has shorthand methods to getting the resources that the Links in #links point to.

Constructors

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

Instance methods

abbreviation
Source
abbreviation=(abbreviation : String)
Source
assets
Source
assets=(assets : Game::Assets)
Source
created
Source
created=(created : Time | Nil)
Source
games(page_size : Int32 = 20) : Srcom::Api::PageIterator(Game)

Gets all Games that belong to this Series.

NOTE: Depending on the series this request might take quite a while. It also defaults to only 20 results per page as otherwise it might very well 503.

Source
id=(id : String)
Source
moderators
Source
moderators=(moderators : Array(User))
Source
name

Shorthand for Name#international.

NOTE: This method is present on all things that have the international + japanese name structure.

Source
names
Source
names=(names : Game::Name)
Source