Class: PlexRubySDK::Models::Operations::GetRecentlyAddedImage
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetRecentlyAddedImage
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/get_recently_added_image.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(alt: nil, type: nil, url: nil) ⇒ GetRecentlyAddedImage
constructor
A new instance of GetRecentlyAddedImage.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(alt: nil, type: nil, url: nil) ⇒ GetRecentlyAddedImage
Returns a new instance of GetRecentlyAddedImage.
25 26 27 28 29 |
# File 'lib/plex_ruby_sdk/models/operations/get_recently_added_image.rb', line 25 def initialize(alt: nil, type: nil, url: nil) @alt = alt @type = type @url = url end |
Instance Method Details
#==(other) ⇒ Object
31 32 33 34 35 36 37 |
# File 'lib/plex_ruby_sdk/models/operations/get_recently_added_image.rb', line 31 def ==(other) return false unless other.is_a? self.class return false unless @alt == other.alt return false unless @type == other.type return false unless @url == other.url true end |