Class: PlexRubySDK::Models::Operations::GetSearchResultsMediaContainer

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(identifier: nil, media_tag_prefix: nil, media_tag_version: nil, metadata: nil, provider: nil, size: nil) ⇒ GetSearchResultsMediaContainer

Returns a new instance of GetSearchResultsMediaContainer.



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

def initialize(identifier: nil, media_tag_prefix: nil, media_tag_version: nil, metadata: nil, provider: nil, size: nil)
  @identifier = identifier
  @media_tag_prefix = media_tag_prefix
  @media_tag_version = media_tag_version
  @metadata = 
  @provider = provider
  @size = size
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  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 @provider == other.provider
  return false unless @size == other.size
  true
end