Class: PlexRubySDK::Models::Operations::GetTopWatchedContentRole
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetTopWatchedContentRole
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_role.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(filter: nil, id: nil, role: nil, tag: nil, tag_key: nil, thumb: nil) ⇒ GetTopWatchedContentRole
constructor
A new instance of GetTopWatchedContentRole.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(filter: nil, id: nil, role: nil, tag: nil, tag_key: nil, thumb: nil) ⇒ GetTopWatchedContentRole
Returns a new instance of GetTopWatchedContentRole.
31 32 33 34 35 36 37 38 |
# File 'lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_role.rb', line 31 def initialize(filter: nil, id: nil, role: nil, tag: nil, tag_key: nil, thumb: nil) @filter = filter @id = id @role = role @tag = tag @tag_key = tag_key @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/gettopwatchedcontent_role.rb', line 40 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 @role == other.role return false unless @tag == other.tag return false unless @tag_key == other.tag_key return false unless @thumb == other.thumb true end |