Class: PlexRubySDK::Models::Operations::GetMediaPostersMetadata
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetMediaPostersMetadata
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/get_media_posters_metadata.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(key: nil, rating_key: nil, selected: nil, thumb: nil, provider: nil) ⇒ GetMediaPostersMetadata
constructor
A new instance of GetMediaPostersMetadata.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(key: nil, rating_key: nil, selected: nil, thumb: nil, provider: nil) ⇒ GetMediaPostersMetadata
Returns a new instance of GetMediaPostersMetadata.
29 30 31 32 33 34 35 |
# File 'lib/plex_ruby_sdk/models/operations/get_media_posters_metadata.rb', line 29 def initialize(key: nil, rating_key: nil, selected: nil, thumb: nil, provider: nil) @key = key @rating_key = @selected = selected @thumb = thumb @provider = provider end |
Instance Method Details
#==(other) ⇒ Object
37 38 39 40 41 42 43 44 45 |
# File 'lib/plex_ruby_sdk/models/operations/get_media_posters_metadata.rb', line 37 def ==(other) return false unless other.is_a? self.class return false unless @key == other.key return false unless @rating_key == other. return false unless @selected == other.selected return false unless @thumb == other.thumb return false unless @provider == other.provider true end |