Class: PlexRubySDK::Models::Operations::GetMetadataChildrenMediaContainer

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/plex_ruby_sdk/models/operations/getmetadatachildren_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, directory: nil, identifier: nil, key: nil, library_section_id: nil, library_section_title: nil, library_section_uuid: nil, media_tag_prefix: nil, media_tag_version: nil, metadata: nil, nocache: nil, parent_index: nil, parent_title: nil, parent_year: nil, size: nil, summary: nil, theme: nil, thumb: nil, title1: nil, title2: nil, view_group: nil, view_mode: nil) ⇒ GetMetadataChildrenMediaContainer

Returns a new instance of GetMetadataChildrenMediaContainer.



65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# File 'lib/plex_ruby_sdk/models/operations/getmetadatachildren_mediacontainer.rb', line 65

def initialize(allow_sync: nil, art: nil, directory: nil, identifier: nil, key: nil, library_section_id: nil, library_section_title: nil, library_section_uuid: nil, media_tag_prefix: nil, media_tag_version: nil, metadata: nil, nocache: nil, parent_index: nil, parent_title: nil, parent_year: nil, size: nil, summary: nil, theme: nil, thumb: nil, title1: nil, title2: nil, view_group: nil, view_mode: nil)
  @allow_sync = allow_sync
  @art = art
  @directory = directory
  @identifier = identifier
  @key = key
  @library_section_id = library_section_id
  @library_section_title = library_section_title
  @library_section_uuid = library_section_uuid
  @media_tag_prefix = media_tag_prefix
  @media_tag_version = media_tag_version
  @metadata = 
  @nocache = nocache
  @parent_index = parent_index
  @parent_title = parent_title
  @parent_year = parent_year
  @size = size
  @summary = summary
  @theme = theme
  @thumb = thumb
  @title1 = title1
  @title2 = title2
  @view_group = view_group
  @view_mode = view_mode
end

Instance Method Details

#==(other) ⇒ Object



91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# File 'lib/plex_ruby_sdk/models/operations/getmetadatachildren_mediacontainer.rb', line 91

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 @directory == other.directory
  return false unless @identifier == other.identifier
  return false unless @key == other.key
  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 @media_tag_prefix == other.media_tag_prefix
  return false unless @media_tag_version == other.media_tag_version
  return false unless @metadata == other.
  return false unless @nocache == other.nocache
  return false unless @parent_index == other.parent_index
  return false unless @parent_title == other.parent_title
  return false unless @parent_year == other.parent_year
  return false unless @size == other.size
  return false unless @summary == other.summary
  return false unless @theme == other.theme
  return false unless @thumb == other.thumb
  return false unless @title1 == other.title1
  return false unless @title2 == other.title2
  return false unless @view_group == other.view_group
  return false unless @view_mode == other.view_mode
  true
end