Class: PlexRubySDK::Models::Operations::GetMediaMetaDataChapter
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetMediaMetaDataChapter
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/get_media_meta_data_chapter.rb
Overview
The thumbnail for the chapter
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(end_time_offset: nil, filter: nil, id: nil, index: nil, start_time_offset: nil, thumb: nil) ⇒ GetMediaMetaDataChapter
constructor
A new instance of GetMediaMetaDataChapter.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(end_time_offset: nil, filter: nil, id: nil, index: nil, start_time_offset: nil, thumb: nil) ⇒ GetMediaMetaDataChapter
Returns a new instance of GetMediaMetaDataChapter.
31 32 33 34 35 36 37 38 |
# File 'lib/plex_ruby_sdk/models/operations/get_media_meta_data_chapter.rb', line 31 def initialize(end_time_offset: nil, filter: nil, id: nil, index: nil, start_time_offset: nil, thumb: nil) @end_time_offset = end_time_offset @filter = filter @id = id @index = index @start_time_offset = start_time_offset @thumb = thumb end |
Instance Method Details
#==(other) ⇒ Object
40 41 42 43 44 45 46 47 48 49 |
# File 'lib/plex_ruby_sdk/models/operations/get_media_meta_data_chapter.rb', line 40 def ==(other) return false unless other.is_a? self.class return false unless @end_time_offset == other.end_time_offset return false unless @filter == other.filter return false unless @id == other.id return false unless @index == other.index return false unless @start_time_offset == other.start_time_offset return false unless @thumb == other.thumb true end |