Class: PlexRubySDK::Models::Operations::GetSessionHistoryMetadata
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetSessionHistoryMetadata
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/getsessionhistory_metadata.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(account_id: nil, device_id: nil, grandparent_art: nil, grandparent_key: nil, grandparent_thumb: nil, grandparent_title: nil, history_key: nil, index: nil, key: nil, library_section_id: nil, originally_available_at: nil, parent_index: nil, parent_key: nil, parent_thumb: nil, rating_key: nil, thumb: nil, title: nil, type: nil, viewed_at: nil) ⇒ GetSessionHistoryMetadata
constructor
A new instance of GetSessionHistoryMetadata.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(account_id: nil, device_id: nil, grandparent_art: nil, grandparent_key: nil, grandparent_thumb: nil, grandparent_title: nil, history_key: nil, index: nil, key: nil, library_section_id: nil, originally_available_at: nil, parent_index: nil, parent_key: nil, parent_thumb: nil, rating_key: nil, thumb: nil, title: nil, type: nil, viewed_at: nil) ⇒ GetSessionHistoryMetadata
Returns a new instance of GetSessionHistoryMetadata.
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/plex_ruby_sdk/models/operations/getsessionhistory_metadata.rb', line 57 def initialize(account_id: nil, device_id: nil, grandparent_art: nil, grandparent_key: nil, grandparent_thumb: nil, grandparent_title: nil, history_key: nil, index: nil, key: nil, library_section_id: nil, originally_available_at: nil, parent_index: nil, parent_key: nil, parent_thumb: nil, rating_key: nil, thumb: nil, title: nil, type: nil, viewed_at: nil) @account_id = account_id @device_id = device_id @grandparent_art = grandparent_art @grandparent_key = grandparent_key @grandparent_thumb = grandparent_thumb @grandparent_title = grandparent_title @history_key = history_key @index = index @key = key @library_section_id = library_section_id @originally_available_at = originally_available_at @parent_index = parent_index @parent_key = parent_key @parent_thumb = parent_thumb @rating_key = @thumb = thumb @title = title @type = type @viewed_at = viewed_at end |
Instance Method Details
#==(other) ⇒ Object
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
# File 'lib/plex_ruby_sdk/models/operations/getsessionhistory_metadata.rb', line 79 def ==(other) return false unless other.is_a? self.class return false unless @account_id == other.account_id return false unless @device_id == other.device_id return false unless @grandparent_art == other.grandparent_art return false unless @grandparent_key == other.grandparent_key return false unless @grandparent_thumb == other.grandparent_thumb return false unless @grandparent_title == other.grandparent_title return false unless @history_key == other.history_key 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 @originally_available_at == other.originally_available_at return false unless @parent_index == other.parent_index return false unless @parent_key == other.parent_key return false unless @parent_thumb == other.parent_thumb return false unless @rating_key == other. return false unless @thumb == other.thumb return false unless @title == other.title return false unless @type == other.type return false unless @viewed_at == other.viewed_at true end |