Class: PlexRubySDK::Models::Operations::GetLibraryDetailsMediaContainer

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/plex_ruby_sdk/models/operations/get_library_details_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, art: nil, content: nil, directory: nil, field_type: nil, identifier: nil, library_section_id: nil, media_tag_prefix: nil, media_tag_version: nil, size: nil, thumb: nil, title1: nil, type: nil, view_group: nil, view_mode: nil) ⇒ GetLibraryDetailsMediaContainer

Returns a new instance of GetLibraryDetailsMediaContainer.



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

def initialize(allow_sync: nil, art: nil, content: nil, directory: nil, field_type: nil, identifier: nil, library_section_id: nil, media_tag_prefix: nil, media_tag_version: nil, size: nil, thumb: nil, title1: nil, type: nil, view_group: nil, view_mode: nil)
  @allow_sync = allow_sync
  @art = art
  @content = content
  @directory = directory
  @field_type = field_type
  @identifier = identifier
  @library_section_id = library_section_id
  @media_tag_prefix = media_tag_prefix
  @media_tag_version = media_tag_version
  @size = size
  @thumb = thumb
  @title1 = title1
  @type = type
  @view_group = view_group
  @view_mode = view_mode
end

Instance Method Details

#==(other) ⇒ Object



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# File 'lib/plex_ruby_sdk/models/operations/get_library_details_mediacontainer.rb', line 67

def ==(other)
  return false unless other.is_a? self.class
  return false unless @allow_sync == other.allow_sync
  return false unless @art == other.art
  return false unless @content == other.content
  return false unless @directory == other.directory
  return false unless @field_type == other.field_type
  return false unless @identifier == other.identifier
  return false unless @library_section_id == other.library_section_id
  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 @thumb == other.thumb
  return false unless @title1 == other.title1
  return false unless @type == other.type
  return false unless @view_group == other.view_group
  return false unless @view_mode == other.view_mode
  true
end