Class: PlexRubySDK::Models::Operations::GetTopWatchedContentRequest
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetTopWatchedContentRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(type: nil, include_guids: nil) ⇒ GetTopWatchedContentRequest
constructor
A new instance of GetTopWatchedContentRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(type: nil, include_guids: nil) ⇒ GetTopWatchedContentRequest
Returns a new instance of GetTopWatchedContentRequest.
30 31 32 33 |
# File 'lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_request.rb', line 30 def initialize(type: nil, include_guids: nil) @type = type @include_guids = include_guids end |
Instance Method Details
#==(other) ⇒ Object
35 36 37 38 39 40 |
# File 'lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_request.rb', line 35 def ==(other) return false unless other.is_a? self.class return false unless @type == other.type return false unless @include_guids == other.include_guids true end |