Class: PlexRubySDK::Models::Operations::GetLibraryDetailsDirectory

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(key: nil, prompt: nil, search: nil, secondary: nil, title: nil) ⇒ GetLibraryDetailsDirectory

Returns a new instance of GetLibraryDetailsDirectory.



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

def initialize(key: nil, prompt: nil, search: nil, secondary: nil, title: nil)
  @key = key
  @prompt = prompt
  @search = search
  @secondary = secondary
  @title = title
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  return false unless @key == other.key
  return false unless @prompt == other.prompt
  return false unless @search == other.search
  return false unless @secondary == other.secondary
  return false unless @title == other.title
  true
end