Class: PlexRubySDK::Models::Operations::GetLibrarySectionsAllOperator

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(key: nil, title: nil) ⇒ GetLibrarySectionsAllOperator

Returns a new instance of GetLibrarySectionsAllOperator.



23
24
25
26
# File 'lib/plex_ruby_sdk/models/operations/get_library_sections_all_operator.rb', line 23

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

Instance Method Details

#==(other) ⇒ Object



28
29
30
31
32
33
# File 'lib/plex_ruby_sdk/models/operations/get_library_sections_all_operator.rb', line 28

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