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