Class: PlexRubySDK::Models::Operations::GetSearchAllLibrariesMediaContainer
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetSearchAllLibrariesMediaContainer
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediacontainer.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(search_result: nil, size: nil) ⇒ GetSearchAllLibrariesMediaContainer
constructor
A new instance of GetSearchAllLibrariesMediaContainer.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(search_result: nil, size: nil) ⇒ GetSearchAllLibrariesMediaContainer
23 24 25 26 |
# File 'lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediacontainer.rb', line 23 def initialize(search_result: nil, size: nil) @search_result = search_result @size = size end |
Instance Method Details
#==(other) ⇒ Object
28 29 30 31 32 33 |
# File 'lib/plex_ruby_sdk/models/operations/get_search_all_libraries_mediacontainer.rb', line 28 def ==(other) return false unless other.is_a? self.class return false unless @search_result == other.search_result return false unless @size == other.size true end |