Class: PlexRubySDK::Models::Operations::GetTopWatchedContentGenre
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetTopWatchedContentGenre
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_genre.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(filter: nil, id: nil, tag: nil) ⇒ GetTopWatchedContentGenre
constructor
A new instance of GetTopWatchedContentGenre.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(filter: nil, id: nil, tag: nil) ⇒ GetTopWatchedContentGenre
Returns a new instance of GetTopWatchedContentGenre.
25 26 27 28 29 |
# File 'lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_genre.rb', line 25 def initialize(filter: nil, id: nil, tag: nil) @filter = filter @id = id @tag = tag end |
Instance Method Details
#==(other) ⇒ Object
31 32 33 34 35 36 37 |
# File 'lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_genre.rb', line 31 def ==(other) return false unless other.is_a? self.class return false unless @filter == other.filter return false unless @id == other.id return false unless @tag == other.tag true end |