Class: PlexRubySDK::Models::Operations::CreatePlaylistRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/plex_ruby_sdk/models/operations/createplaylist_request.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(smart: nil, title: nil, type: nil, uri: nil, play_queue_id: nil) ⇒ CreatePlaylistRequest

Returns a new instance of CreatePlaylistRequest.



29
30
31
32
33
34
35
# File 'lib/plex_ruby_sdk/models/operations/createplaylist_request.rb', line 29

def initialize(smart: nil, title: nil, type: nil, uri: nil, play_queue_id: nil)
  @smart = smart
  @title = title
  @type = type
  @uri = uri
  @play_queue_id = play_queue_id
end

Instance Method Details

#==(other) ⇒ Object



37
38
39
40
41
42
43
44
45
# File 'lib/plex_ruby_sdk/models/operations/createplaylist_request.rb', line 37

def ==(other)
  return false unless other.is_a? self.class
  return false unless @smart == other.smart
  return false unless @title == other.title
  return false unless @type == other.type
  return false unless @uri == other.uri
  return false unless @play_queue_id == other.play_queue_id
  true
end