Class: PlexRubySDK::Models::Operations::GetWatchListResponseBody
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetWatchListResponseBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/get_watch_list_responsebody.rb
Overview
Watchlist Data
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(identifier: nil, library_section_id: nil, library_section_title: nil, metadata: nil, offset: nil, size: nil, total_size: nil) ⇒ GetWatchListResponseBody
constructor
A new instance of GetWatchListResponseBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(identifier: nil, library_section_id: nil, library_section_title: nil, metadata: nil, offset: nil, size: nil, total_size: nil) ⇒ GetWatchListResponseBody
Returns a new instance of GetWatchListResponseBody.
36 37 38 39 40 41 42 43 44 |
# File 'lib/plex_ruby_sdk/models/operations/get_watch_list_responsebody.rb', line 36 def initialize(identifier: nil, library_section_id: nil, library_section_title: nil, metadata: nil, offset: nil, size: nil, total_size: nil) @identifier = identifier @library_section_id = library_section_id @library_section_title = library_section_title @metadata = @offset = offset @size = size @total_size = total_size end |
Instance Method Details
#==(other) ⇒ Object
46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/plex_ruby_sdk/models/operations/get_watch_list_responsebody.rb', line 46 def ==(other) return false unless other.is_a? self.class return false unless @identifier == other.identifier return false unless @library_section_id == other.library_section_id return false unless @library_section_title == other.library_section_title return false unless @metadata == other. return false unless @offset == other.offset return false unless @size == other.size return false unless @total_size == other.total_size true end |