Class: PlexRubySDK::Models::Operations::GetTopWatchedContentMetadata
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetTopWatchedContentMetadata
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/gettopwatchedcontent_metadata.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(added_at: nil, art: nil, audience_rating: nil, audience_rating_image: nil, child_count: nil, content_rating: nil, country: nil, duration: nil, genre: nil, global_view_count: nil, guid: nil, guids: nil, index: nil, key: nil, leaf_count: nil, library_section_id: nil, library_section_key: nil, library_section_title: nil, originally_available_at: nil, rating_key: nil, role: nil, slug: nil, studio: nil, summary: nil, tagline: nil, thumb: nil, title: nil, type: nil, updated_at: nil, user: nil, viewed_leaf_count: nil, year: nil) ⇒ GetTopWatchedContentMetadata
constructor
A new instance of GetTopWatchedContentMetadata.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(added_at: nil, art: nil, audience_rating: nil, audience_rating_image: nil, child_count: nil, content_rating: nil, country: nil, duration: nil, genre: nil, global_view_count: nil, guid: nil, guids: nil, index: nil, key: nil, leaf_count: nil, library_section_id: nil, library_section_key: nil, library_section_title: nil, originally_available_at: nil, rating_key: nil, role: nil, slug: nil, studio: nil, summary: nil, tagline: nil, thumb: nil, title: nil, type: nil, updated_at: nil, user: nil, viewed_leaf_count: nil, year: nil) ⇒ GetTopWatchedContentMetadata
Returns a new instance of GetTopWatchedContentMetadata.
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/gettopwatchedcontent_metadata.rb', line 83 def initialize(added_at: nil, art: nil, audience_rating: nil, audience_rating_image: nil, child_count: nil, content_rating: nil, country: nil, duration: nil, genre: nil, global_view_count: nil, guid: nil, guids: nil, index: nil, key: nil, leaf_count: nil, library_section_id: nil, library_section_key: nil, library_section_title: nil, originally_available_at: nil, rating_key: nil, role: nil, slug: nil, studio: nil, summary: nil, tagline: nil, thumb: nil, title: nil, type: nil, updated_at: nil, user: nil, viewed_leaf_count: nil, year: nil) @added_at = added_at @art = art = = @child_count = child_count = @country = country @duration = duration @genre = genre @global_view_count = global_view_count @guid = guid @guids = guids @index = index @key = key @leaf_count = leaf_count @library_section_id = library_section_id @library_section_key = library_section_key @library_section_title = library_section_title @originally_available_at = originally_available_at = @role = role @slug = slug @studio = studio @summary = summary @tagline = tagline @thumb = thumb @title = title @type = type @updated_at = updated_at @user = user @viewed_leaf_count = viewed_leaf_count @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/gettopwatchedcontent_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 @art == other.art return false unless == other. return false unless == other. return false unless @child_count == other.child_count return false unless == other. return false unless @country == other.country return false unless @duration == other.duration return false unless @genre == other.genre return false unless @global_view_count == other.global_view_count return false unless @guid == other.guid return false unless @guids == other.guids return false unless @index == other.index return false unless @key == other.key return false unless @leaf_count == other.leaf_count 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 @originally_available_at == other.originally_available_at return false unless == other. return false unless @role == other.role return false unless @slug == other.slug 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 @user == other.user return false unless @viewed_leaf_count == other.viewed_leaf_count return false unless @year == other.year true end |