Class: PlexRubySDK::Models::Operations::GetRecentlyAddedLibraryMetadata
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetRecentlyAddedLibraryMetadata
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/get_recently_added_library_metadata.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(added_at: nil, allow_sync: nil, art: nil, audience_rating: nil, audience_rating_image: nil, chapter_source: nil, content_rating: nil, country: nil, director: nil, duration: nil, genre: nil, guid: nil, key: nil, library_section_id: nil, library_section_title: nil, library_section_uuid: nil, media: nil, originally_available_at: nil, primary_extra_key: nil, rating: nil, rating_image: nil, rating_key: nil, role: nil, studio: nil, summary: nil, tagline: nil, thumb: nil, title: nil, type: nil, updated_at: nil, writer: nil, year: nil) ⇒ GetRecentlyAddedLibraryMetadata
constructor
A new instance of GetRecentlyAddedLibraryMetadata.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(added_at: nil, allow_sync: nil, art: nil, audience_rating: nil, audience_rating_image: nil, chapter_source: nil, content_rating: nil, country: nil, director: nil, duration: nil, genre: nil, guid: nil, key: nil, library_section_id: nil, library_section_title: nil, library_section_uuid: nil, media: nil, originally_available_at: nil, primary_extra_key: nil, rating: nil, rating_image: nil, rating_key: nil, role: nil, studio: nil, summary: nil, tagline: nil, thumb: nil, title: nil, type: nil, updated_at: nil, writer: nil, year: nil) ⇒ GetRecentlyAddedLibraryMetadata
Returns a new instance of GetRecentlyAddedLibraryMetadata.
83 84 85 86 87 88 89 90 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 |
# File 'lib/plex_ruby_sdk/models/operations/get_recently_added_library_metadata.rb', line 83 def initialize(added_at: nil, allow_sync: nil, art: nil, audience_rating: nil, audience_rating_image: nil, chapter_source: nil, content_rating: nil, country: nil, director: nil, duration: nil, genre: nil, guid: nil, key: nil, library_section_id: nil, library_section_title: nil, library_section_uuid: nil, media: nil, originally_available_at: nil, primary_extra_key: nil, rating: nil, rating_image: nil, rating_key: nil, role: nil, studio: nil, summary: nil, tagline: nil, thumb: nil, title: nil, type: nil, updated_at: nil, writer: nil, year: nil) @added_at = added_at @allow_sync = allow_sync @art = art @audience_rating = @audience_rating_image = @chapter_source = chapter_source @content_rating = @country = country @director = director @duration = duration @genre = genre @guid = guid @key = key @library_section_id = library_section_id @library_section_title = library_section_title @library_section_uuid = library_section_uuid @media = media @originally_available_at = originally_available_at @primary_extra_key = primary_extra_key @rating = @rating_image = @rating_key = @role = role @studio = studio @summary = summary @tagline = tagline @thumb = thumb @title = title @type = type @updated_at = updated_at @writer = writer @year = year end |
Instance Method Details
#==(other) ⇒ Object
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 |
# File 'lib/plex_ruby_sdk/models/operations/get_recently_added_library_metadata.rb', line 118 def ==(other) return false unless other.is_a? self.class return false unless @added_at == other.added_at return false unless @allow_sync == other.allow_sync return false unless @art == other.art return false unless @audience_rating == other. return false unless @audience_rating_image == other. return false unless @chapter_source == other.chapter_source return false unless @content_rating == other. return false unless @country == other.country return false unless @director == other.director return false unless @duration == other.duration return false unless @genre == other.genre return false unless @guid == other.guid 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 == other.media return false unless @originally_available_at == other.originally_available_at return false unless @primary_extra_key == other.primary_extra_key return false unless @rating == other. return false unless @rating_image == other. return false unless @rating_key == other. return false unless @role == other.role return false unless @studio == other.studio return false unless @summary == other.summary return false unless @tagline == other.tagline return false unless @thumb == other.thumb return false unless @title == other.title return false unless @type == other.type return false unless @updated_at == other.updated_at return false unless @writer == other.writer return false unless @year == other.year true end |