Class: PlexRubySDK::Models::Operations::GetRecentlyAddedFilter

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/plex_ruby_sdk/models/operations/get_recently_added_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, advanced: nil) ⇒ GetRecentlyAddedFilter

Returns a new instance of GetRecentlyAddedFilter.



31
32
33
34
35
36
37
38
# File 'lib/plex_ruby_sdk/models/operations/get_recently_added_filter.rb', line 31

def initialize(filter: nil, filter_type: nil, key: nil, title: nil, type: nil, advanced: nil)
  @filter = filter
  @filter_type = filter_type
  @key = key
  @title = title
  @type = type
  @advanced = advanced
end

Instance Method Details

#==(other) ⇒ Object



40
41
42
43
44
45
46
47
48
49
# File 'lib/plex_ruby_sdk/models/operations/get_recently_added_filter.rb', line 40

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
  return false unless @advanced == other.advanced
  true
end