Class: PlexRubySDK::Models::Operations::GetLibraryDetailsFilter

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(filter: nil, filter_type: nil, key: nil, title: nil, type: nil) ⇒ GetLibraryDetailsFilter

Returns a new instance of GetLibraryDetailsFilter.



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

def initialize(filter: nil, filter_type: nil, key: nil, title: nil, type: nil)
  @filter = filter
  @filter_type = filter_type
  @key = key
  @title = title
  @type = type
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_filter.rb', line 37

def ==(other)
  return false unless other.is_a? self.class
  return false unless @filter == other.filter
  return false unless @filter_type == other.filter_type
  return false unless @key == other.key
  return false unless @title == other.title
  return false unless @type == other.type
  true
end