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