Class: PlexRubySDK::Models::Operations::GetSearchLibraryRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(section_key: nil, type: nil) ⇒ GetSearchLibraryRequest

Returns a new instance of GetSearchLibraryRequest.



31
32
33
34
# File 'lib/plex_ruby_sdk/models/operations/get_search_library_request.rb', line 31

def initialize(section_key: nil, type: nil)
  @section_key = section_key
  @type = type
end

Instance Method Details

#==(other) ⇒ Object



36
37
38
39
40
41
# File 'lib/plex_ruby_sdk/models/operations/get_search_library_request.rb', line 36

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