Class: PlexRubySDK::Models::Operations::GetTopWatchedContentMediaContainer

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(allow_sync: nil, identifier: nil, media_tag_prefix: nil, media_tag_version: nil, size: nil, metadata: nil) ⇒ GetTopWatchedContentMediaContainer

Returns a new instance of GetTopWatchedContentMediaContainer.



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

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

Instance Method Details

#==(other) ⇒ Object



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

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