Class: PlexRubySDK::Models::Operations::Metadata
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::Metadata
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/metadata.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(added_at: nil, art: nil, audience_rating: nil, audience_rating_image: nil, availability_id: nil, banner: nil, child_count: nil, content_rating: nil, duration: nil, expires_at: nil, guid: nil, image: nil, imdb_rating_count: nil, is_continuing_series: nil, key: nil, leaf_count: nil, originally_available_at: nil, original_title: nil, playable_key: nil, public_pages_url: nil, rating: nil, rating_image: nil, rating_key: nil, skip_children: nil, slug: nil, streaming_media_id: nil, studio: nil, subtype: nil, tagline: nil, theme: nil, thumb: nil, title: nil, type: nil, user_state: nil, year: nil) ⇒ Metadata
constructor
A new instance of Metadata.
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, availability_id: nil, banner: nil, child_count: nil, content_rating: nil, duration: nil, expires_at: nil, guid: nil, image: nil, imdb_rating_count: nil, is_continuing_series: nil, key: nil, leaf_count: nil, originally_available_at: nil, original_title: nil, playable_key: nil, public_pages_url: nil, rating: nil, rating_image: nil, rating_key: nil, skip_children: nil, slug: nil, streaming_media_id: nil, studio: nil, subtype: nil, tagline: nil, theme: nil, thumb: nil, title: nil, type: nil, user_state: nil, year: nil) ⇒ Metadata
Returns a new instance of Metadata.
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 117 118 119 120 121 122 123 124 125 126 127 128 |
# File 'lib/plex_ruby_sdk/models/operations/metadata.rb', line 92 def initialize(added_at: nil, art: nil, audience_rating: nil, audience_rating_image: nil, availability_id: nil, banner: nil, child_count: nil, content_rating: nil, duration: nil, expires_at: nil, guid: nil, image: nil, imdb_rating_count: nil, is_continuing_series: nil, key: nil, leaf_count: nil, originally_available_at: nil, original_title: nil, playable_key: nil, public_pages_url: nil, rating: nil, rating_image: nil, rating_key: nil, skip_children: nil, slug: nil, streaming_media_id: nil, studio: nil, subtype: nil, tagline: nil, theme: nil, thumb: nil, title: nil, type: nil, user_state: nil, year: nil) @added_at = added_at @art = art @audience_rating = @audience_rating_image = @availability_id = availability_id @banner = @child_count = child_count @content_rating = @duration = duration @expires_at = expires_at @guid = guid @image = image @imdb_rating_count = @is_continuing_series = is_continuing_series @key = key @leaf_count = leaf_count @originally_available_at = originally_available_at @original_title = original_title @playable_key = playable_key @public_pages_url = public_pages_url @rating = @rating_image = @rating_key = @skip_children = skip_children @slug = slug @streaming_media_id = streaming_media_id @studio = studio @subtype = subtype @tagline = tagline @theme = theme @thumb = thumb @title = title @type = type @user_state = user_state @year = year end |
Instance Method Details
#==(other) ⇒ Object
130 131 132 133 134 135 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 |
# File 'lib/plex_ruby_sdk/models/operations/metadata.rb', line 130 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 @audience_rating == other. return false unless @audience_rating_image == other. return false unless @availability_id == other.availability_id return false unless @banner == other. return false unless @child_count == other.child_count return false unless @content_rating == other. return false unless @duration == other.duration return false unless @expires_at == other.expires_at return false unless @guid == other.guid return false unless @image == other.image return false unless @imdb_rating_count == other. return false unless @is_continuing_series == other.is_continuing_series return false unless @key == other.key return false unless @leaf_count == other.leaf_count return false unless @originally_available_at == other.originally_available_at return false unless @original_title == other.original_title return false unless @playable_key == other.playable_key return false unless @public_pages_url == other.public_pages_url return false unless @rating == other. return false unless @rating_image == other. return false unless @rating_key == other. return false unless @skip_children == other.skip_children return false unless @slug == other.slug return false unless @streaming_media_id == other.streaming_media_id return false unless @studio == other.studio return false unless @subtype == other.subtype return false unless @tagline == other.tagline return false unless @theme == other.theme return false unless @thumb == other.thumb return false unless @title == other.title return false unless @type == other.type return false unless @user_state == other.user_state return false unless @year == other.year true end |