Class: PlexRubySDK::Models::Operations::GetSearchAllLibrariesRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(client_id: nil, query: nil, include_collections: nil, include_external_media: nil, limit: nil, search_types: nil) ⇒ GetSearchAllLibrariesRequest

Returns a new instance of GetSearchAllLibrariesRequest.



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

def initialize(client_id: nil, query: nil, include_collections: nil, include_external_media: nil, limit: nil, search_types: nil)
  @client_id = client_id
  @query = query
  @include_collections = include_collections
  @include_external_media = include_external_media
  @limit = limit
  @search_types = search_types
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  return false unless @client_id == other.client_id
  return false unless @query == other.query
  return false unless @include_collections == other.include_collections
  return false unless @include_external_media == other.include_external_media
  return false unless @limit == other.limit
  return false unless @search_types == other.search_types
  true
end