Class: PlexRubySDK::Models::Operations::AddPlaylistContentsMetadata
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::AddPlaylistContentsMetadata
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/addplaylistcontents_metadata.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(added_at: nil, composite: nil, duration: nil, guid: nil, key: nil, leaf_count: nil, playlist_type: nil, rating_key: nil, smart: nil, summary: nil, title: nil, type: nil, updated_at: nil) ⇒ AddPlaylistContentsMetadata
constructor
A new instance of AddPlaylistContentsMetadata.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(added_at: nil, composite: nil, duration: nil, guid: nil, key: nil, leaf_count: nil, playlist_type: nil, rating_key: nil, smart: nil, summary: nil, title: nil, type: nil, updated_at: nil) ⇒ AddPlaylistContentsMetadata
Returns a new instance of AddPlaylistContentsMetadata.
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/plex_ruby_sdk/models/operations/addplaylistcontents_metadata.rb', line 45 def initialize(added_at: nil, composite: nil, duration: nil, guid: nil, key: nil, leaf_count: nil, playlist_type: nil, rating_key: nil, smart: nil, summary: nil, title: nil, type: nil, updated_at: nil) @added_at = added_at @composite = composite @duration = duration @guid = guid @key = key @leaf_count = leaf_count @playlist_type = playlist_type @rating_key = @smart = smart @summary = summary @title = title @type = type @updated_at = updated_at end |
Instance Method Details
#==(other) ⇒ Object
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/plex_ruby_sdk/models/operations/addplaylistcontents_metadata.rb', line 61 def ==(other) return false unless other.is_a? self.class return false unless @added_at == other.added_at return false unless @composite == other.composite return false unless @duration == other.duration return false unless @guid == other.guid return false unless @key == other.key return false unless @leaf_count == other.leaf_count return false unless @playlist_type == other.playlist_type return false unless @rating_key == other. return false unless @smart == other.smart return false unless @summary == other.summary return false unless @title == other.title return false unless @type == other.type return false unless @updated_at == other.updated_at true end |