Class: PlexRubySDK::Models::Operations::GetRecentlyAddedMediaContainer

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/plex_ruby_sdk/models/operations/get_recently_added_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, offset: nil, size: nil, total_size: nil, meta: nil, metadata: nil) ⇒ GetRecentlyAddedMediaContainer

Returns a new instance of GetRecentlyAddedMediaContainer.



34
35
36
37
38
39
40
41
42
# File 'lib/plex_ruby_sdk/models/operations/get_recently_added_mediacontainer.rb', line 34

def initialize(allow_sync: nil, identifier: nil, offset: nil, size: nil, total_size: nil, meta: nil, metadata: nil)
  @allow_sync = allow_sync
  @identifier = identifier
  @offset = offset
  @size = size
  @total_size = total_size
  @meta = meta
  @metadata = 
end

Instance Method Details

#==(other) ⇒ Object



44
45
46
47
48
49
50
51
52
53
54
# File 'lib/plex_ruby_sdk/models/operations/get_recently_added_mediacontainer.rb', line 44

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 @offset == other.offset
  return false unless @size == other.size
  return false unless @total_size == other.total_size
  return false unless @meta == other.meta
  return false unless @metadata == other.
  true
end