Class: PlexRubySDK::Models::Operations::GetLibraryHubsMediaContainer

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/plex_ruby_sdk/models/operations/getlibraryhubs_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, hub: nil, identifier: nil, library_section_id: nil, library_section_title: nil, library_section_uuid: nil, size: nil) ⇒ GetLibraryHubsMediaContainer

Returns a new instance of GetLibraryHubsMediaContainer.



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

def initialize(allow_sync: nil, hub: nil, identifier: nil, library_section_id: nil, library_section_title: nil, library_section_uuid: nil, size: nil)
  @allow_sync = allow_sync
  @hub = hub
  @identifier = identifier
  @library_section_id = library_section_id
  @library_section_title = library_section_title
  @library_section_uuid = library_section_uuid
  @size = size
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  return false unless @allow_sync == other.allow_sync
  return false unless @hub == other.hub
  return false unless @identifier == other.identifier
  return false unless @library_section_id == other.library_section_id
  return false unless @library_section_title == other.library_section_title
  return false unless @library_section_uuid == other.library_section_uuid
  return false unless @size == other.size
  true
end