Class: PlexRubySDK::Models::Operations::GetRecentlyAddedLibraryType
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetRecentlyAddedLibraryType
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/get_recently_added_library_type.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(active: nil, key: nil, title: nil, type: nil, field: nil, filter: nil, sort: nil, subtype: nil) ⇒ GetRecentlyAddedLibraryType
constructor
A new instance of GetRecentlyAddedLibraryType.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(active: nil, key: nil, title: nil, type: nil, field: nil, filter: nil, sort: nil, subtype: nil) ⇒ GetRecentlyAddedLibraryType
Returns a new instance of GetRecentlyAddedLibraryType.
35 36 37 38 39 40 41 42 43 44 |
# File 'lib/plex_ruby_sdk/models/operations/get_recently_added_library_type.rb', line 35 def initialize(active: nil, key: nil, title: nil, type: nil, field: nil, filter: nil, sort: nil, subtype: nil) @active = active @key = key @title = title @type = type @field = field @filter = filter @sort = sort @subtype = subtype end |
Instance Method Details
#==(other) ⇒ Object
46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/plex_ruby_sdk/models/operations/get_recently_added_library_type.rb', line 46 def ==(other) return false unless other.is_a? self.class return false unless @active == other.active return false unless @key == other.key return false unless @title == other.title return false unless @type == other.type return false unless @field == other.field return false unless @filter == other.filter return false unless @sort == other.sort return false unless @subtype == other.subtype true end |