Class: Spotted::Models::Me::EpisodeListResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/spotted/models/me/episode_list_response.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(added_at: nil, episode: nil) ⇒ Object

Some parameter documentations has been truncated, see Spotted::Models::Me::EpisodeListResponse for more details.

Parameters:

  • added_at (Time) (defaults to: nil)

    The date and time the episode was saved.

  • episode (Spotted::Models::EpisodeObject) (defaults to: nil)

    Information about the episode.



# File 'lib/spotted/models/me/episode_list_response.rb', line 22

Instance Attribute Details

#added_atTime?

The date and time the episode was saved. Timestamps are returned in ISO 8601 format as Coordinated Universal Time (UTC) with a zero offset: YYYY-MM-DDTHH:MM:SSZ.

Returns:

  • (Time, nil)


14
# File 'lib/spotted/models/me/episode_list_response.rb', line 14

optional :added_at, Time

#episodeSpotted::Models::EpisodeObject?

Information about the episode.



20
# File 'lib/spotted/models/me/episode_list_response.rb', line 20

optional :episode, -> { Spotted::EpisodeObject }