Class: PlexRubySDK::Models::Operations::GetRecentlyAddedLibraryMediaContainer

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

Overview

The Meta object is only included in the response if the ‘includeMeta` parameter is set to `1`.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(allow_sync: nil, field_type: nil, identifier: nil, media_tag_prefix: nil, media_tag_version: nil, metadata: nil, mixed_parents: nil, size: nil, type: nil) ⇒ GetRecentlyAddedLibraryMediaContainer

Returns a new instance of GetRecentlyAddedLibraryMediaContainer.



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

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

Instance Method Details

#==(other) ⇒ Object



50
51
52
53
54
55
56
57
58
59
60
61
62
# File 'lib/plex_ruby_sdk/models/operations/get_recently_added_library_mediacontainer.rb', line 50

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