Class: PlexRubySDK::Models::Operations::GetSessionsMetadata
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetSessionsMetadata
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/getsessions_metadata.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(added_at: nil, art: nil, duration: nil, grandparent_art: nil, grandparent_guid: nil, grandparent_key: nil, grandparent_rating_key: nil, grandparent_thumb: nil, grandparent_title: nil, guid: nil, index: nil, key: nil, library_section_id: nil, library_section_key: nil, library_section_title: nil, media: nil, music_analysis_version: nil, original_title: nil, parent_guid: nil, parent_index: nil, parent_key: nil, parent_rating_key: nil, parent_studio: nil, parent_thumb: nil, parent_title: nil, parent_year: nil, player: nil, rating_count: nil, rating_key: nil, session: nil, session_key: nil, thumb: nil, title: nil, title_sort: nil, type: nil, updated_at: nil, user: nil, view_offset: nil) ⇒ GetSessionsMetadata
constructor
A new instance of GetSessionsMetadata.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(added_at: nil, art: nil, duration: nil, grandparent_art: nil, grandparent_guid: nil, grandparent_key: nil, grandparent_rating_key: nil, grandparent_thumb: nil, grandparent_title: nil, guid: nil, index: nil, key: nil, library_section_id: nil, library_section_key: nil, library_section_title: nil, media: nil, music_analysis_version: nil, original_title: nil, parent_guid: nil, parent_index: nil, parent_key: nil, parent_rating_key: nil, parent_studio: nil, parent_thumb: nil, parent_title: nil, parent_year: nil, player: nil, rating_count: nil, rating_key: nil, session: nil, session_key: nil, thumb: nil, title: nil, title_sort: nil, type: nil, updated_at: nil, user: nil, view_offset: nil) ⇒ GetSessionsMetadata
Returns a new instance of GetSessionsMetadata.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 |
# File 'lib/plex_ruby_sdk/models/operations/getsessions_metadata.rb', line 95 def initialize(added_at: nil, art: nil, duration: nil, grandparent_art: nil, grandparent_guid: nil, grandparent_key: nil, grandparent_rating_key: nil, grandparent_thumb: nil, grandparent_title: nil, guid: nil, index: nil, key: nil, library_section_id: nil, library_section_key: nil, library_section_title: nil, media: nil, music_analysis_version: nil, original_title: nil, parent_guid: nil, parent_index: nil, parent_key: nil, parent_rating_key: nil, parent_studio: nil, parent_thumb: nil, parent_title: nil, parent_year: nil, player: nil, rating_count: nil, rating_key: nil, session: nil, session_key: nil, thumb: nil, title: nil, title_sort: nil, type: nil, updated_at: nil, user: nil, view_offset: nil) @added_at = added_at @art = art @duration = duration @grandparent_art = grandparent_art @grandparent_guid = grandparent_guid @grandparent_key = grandparent_key @grandparent_rating_key = @grandparent_thumb = grandparent_thumb @grandparent_title = grandparent_title @guid = guid @index = index @key = key @library_section_id = library_section_id @library_section_key = library_section_key @library_section_title = library_section_title @media = media @music_analysis_version = music_analysis_version @original_title = original_title @parent_guid = parent_guid @parent_index = parent_index @parent_key = parent_key @parent_rating_key = @parent_studio = parent_studio @parent_thumb = parent_thumb @parent_title = parent_title @parent_year = parent_year @player = player @rating_count = @rating_key = @session = session @session_key = session_key @thumb = thumb @title = title @title_sort = title_sort @type = type @updated_at = updated_at @user = user @view_offset = view_offset end |
Instance Method Details
#==(other) ⇒ Object
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'lib/plex_ruby_sdk/models/operations/getsessions_metadata.rb', line 136 def ==(other) return false unless other.is_a? self.class return false unless @added_at == other.added_at return false unless @art == other.art return false unless @duration == other.duration return false unless @grandparent_art == other.grandparent_art return false unless @grandparent_guid == other.grandparent_guid return false unless @grandparent_key == other.grandparent_key return false unless @grandparent_rating_key == other. return false unless @grandparent_thumb == other.grandparent_thumb return false unless @grandparent_title == other.grandparent_title return false unless @guid == other.guid return false unless @index == other.index return false unless @key == other.key return false unless @library_section_id == other.library_section_id return false unless @library_section_key == other.library_section_key return false unless @library_section_title == other.library_section_title return false unless @media == other.media return false unless @music_analysis_version == other.music_analysis_version return false unless @original_title == other.original_title return false unless @parent_guid == other.parent_guid return false unless @parent_index == other.parent_index return false unless @parent_key == other.parent_key return false unless @parent_rating_key == other. return false unless @parent_studio == other.parent_studio return false unless @parent_thumb == other.parent_thumb return false unless @parent_title == other.parent_title return false unless @parent_year == other.parent_year return false unless @player == other.player return false unless @rating_count == other. return false unless @rating_key == other. return false unless @session == other.session return false unless @session_key == other.session_key return false unless @thumb == other.thumb return false unless @title == other.title return false unless @title_sort == other.title_sort return false unless @type == other.type return false unless @updated_at == other.updated_at return false unless @user == other.user return false unless @view_offset == other.view_offset true end |