Class: PlexRubySDK::Models::Operations::UploadPlaylistRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(force: nil, path: nil, section_id: nil) ⇒ UploadPlaylistRequest

Returns a new instance of UploadPlaylistRequest.



35
36
37
38
39
# File 'lib/plex_ruby_sdk/models/operations/uploadplaylist_request.rb', line 35

def initialize(force: nil, path: nil, section_id: nil)
  @force = force
  @path = path
  @section_id = section_id
end

Instance Method Details

#==(other) ⇒ Object



41
42
43
44
45
46
47
# File 'lib/plex_ruby_sdk/models/operations/uploadplaylist_request.rb', line 41

def ==(other)
  return false unless other.is_a? self.class
  return false unless @force == other.force
  return false unless @path == other.path
  return false unless @section_id == other.section_id
  true
end