Class: PlexRubySDK::Models::Operations::GetSearchLibraryMediaContainer
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetSearchLibraryMediaContainer
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/get_search_library_mediacontainer.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(allow_sync: nil, art: nil, identifier: nil, media_tag_prefix: nil, media_tag_version: nil, metadata: nil, nocache: nil, size: nil, thumb: nil, title1: nil, title2: nil, view_group: nil, view_mode: nil) ⇒ GetSearchLibraryMediaContainer
constructor
A new instance of GetSearchLibraryMediaContainer.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(allow_sync: nil, art: nil, identifier: nil, media_tag_prefix: nil, media_tag_version: nil, metadata: nil, nocache: nil, size: nil, thumb: nil, title1: nil, title2: nil, view_group: nil, view_mode: nil) ⇒ GetSearchLibraryMediaContainer
Returns a new instance of GetSearchLibraryMediaContainer.
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/plex_ruby_sdk/models/operations/get_search_library_mediacontainer.rb', line 45 def initialize(allow_sync: nil, art: nil, identifier: nil, media_tag_prefix: nil, media_tag_version: nil, metadata: nil, nocache: nil, size: nil, thumb: nil, title1: nil, title2: nil, view_group: nil, view_mode: nil) @allow_sync = allow_sync @art = art @identifier = identifier @media_tag_prefix = media_tag_prefix @media_tag_version = media_tag_version @metadata = @nocache = nocache @size = size @thumb = thumb @title1 = title1 @title2 = title2 @view_group = view_group @view_mode = view_mode end |
Instance Method Details
#==(other) ⇒ Object
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/plex_ruby_sdk/models/operations/get_search_library_mediacontainer.rb', line 61 def ==(other) return false unless other.is_a? self.class return false unless @allow_sync == other.allow_sync return false unless @art == other.art return false unless @identifier == other.identifier return false unless @media_tag_prefix == other.media_tag_prefix return false unless @media_tag_version == other.media_tag_version return false unless @metadata == other. return false unless @nocache == other.nocache return false unless @size == other.size return false unless @thumb == other.thumb return false unless @title1 == other.title1 return false unless @title2 == other.title2 return false unless @view_group == other.view_group return false unless @view_mode == other.view_mode true end |