Class: Spotted::Models::Me::AudiobookListResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Spotted::Models::Me::AudiobookListResponse
- Defined in:
- lib/spotted/models/me/audiobook_list_response.rb
Overview
Defined Under Namespace
Classes: Audiobook
Instance Attribute Summary collapse
-
#added_at ⇒ Time?
The date and time the audiobook was saved Timestamps are returned in ISO 8601 format as Coordinated Universal Time (UTC) with a zero offset: YYYY-MM-DDTHH:MM:SSZ.
-
#audiobook ⇒ Spotted::Models::Me::AudiobookListResponse::Audiobook?
Information about the audiobook.
Instance Method Summary collapse
-
#initialize(added_at: nil, audiobook: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see AudiobookListResponse for more details.
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, audiobook: nil) ⇒ Object
Some parameter documentations has been truncated, see Spotted::Models::Me::AudiobookListResponse for more details.
|
|
# File 'lib/spotted/models/me/audiobook_list_response.rb', line 24
|
Instance Attribute Details
#added_at ⇒ Time?
The date and time the audiobook was saved Timestamps are returned in ISO 8601 format as Coordinated Universal Time (UTC) with a zero offset: YYYY-MM-DDTHH:MM:SSZ. If the time is imprecise (for example, the date/time of an album release), an additional field indicates the precision; see for example, release_date in an album object.
16 |
# File 'lib/spotted/models/me/audiobook_list_response.rb', line 16 optional :added_at, Time |
#audiobook ⇒ Spotted::Models::Me::AudiobookListResponse::Audiobook?
Information about the audiobook.
22 |
# File 'lib/spotted/models/me/audiobook_list_response.rb', line 22 optional :audiobook, -> { Spotted::Models::Me::AudiobookListResponse::Audiobook } |