Class: PlexRubySDK::Models::Operations::GetSearchAllLibrariesDirectory

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id: nil, key: nil, library_section_id: nil, library_section_key: nil, library_section_title: nil, tag: nil, type: nil, count: nil, filter: nil, library_section_type: nil, tag_key: nil, tag_type: nil, thumb: nil) ⇒ GetSearchAllLibrariesDirectory

Returns a new instance of GetSearchAllLibrariesDirectory.



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# File 'lib/plex_ruby_sdk/models/operations/get_search_all_libraries_directory.rb', line 45

def initialize(id: nil, key: nil, library_section_id: nil, library_section_key: nil, library_section_title: nil, tag: nil, type: nil, count: nil, filter: nil, library_section_type: nil, tag_key: nil, tag_type: nil, thumb: nil)
  @id = id
  @key = key
  @library_section_id = library_section_id
  @library_section_key = library_section_key
  @library_section_title = library_section_title
  @tag = tag
  @type = type
  @count = count
  @filter = filter
  @library_section_type = library_section_type
  @tag_key = tag_key
  @tag_type = tag_type
  @thumb = thumb
end

Instance Method Details

#==(other) ⇒ Object



61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# File 'lib/plex_ruby_sdk/models/operations/get_search_all_libraries_directory.rb', line 61

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @key == other.key
  return false unless @library_section_id == other.library_section_id
  return false unless @library_section_key == other.library_section_key
  return false unless @library_section_title == other.library_section_title
  return false unless @tag == other.tag
  return false unless @type == other.type
  return false unless @count == other.count
  return false unless @filter == other.filter
  return false unless @library_section_type == other.library_section_type
  return false unless @tag_key == other.tag_key
  return false unless @tag_type == other.tag_type
  return false unless @thumb == other.thumb
  true
end