Class: PlexRubySDK::Models::Operations::GetLibraryDetailsSort

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/plex_ruby_sdk/models/operations/get_library_details_sort.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(default: nil, default_direction: nil, desc_key: nil, first_character_key: nil, key: nil, title: nil) ⇒ GetLibraryDetailsSort

Returns a new instance of GetLibraryDetailsSort.



31
32
33
34
35
36
37
38
# File 'lib/plex_ruby_sdk/models/operations/get_library_details_sort.rb', line 31

def initialize(default: nil, default_direction: nil, desc_key: nil, first_character_key: nil, key: nil, title: nil)
  @default = default
  @default_direction = default_direction
  @desc_key = desc_key
  @first_character_key = first_character_key
  @key = key
  @title = title
end

Instance Method Details

#==(other) ⇒ Object



40
41
42
43
44
45
46
47
48
49
# File 'lib/plex_ruby_sdk/models/operations/get_library_details_sort.rb', line 40

def ==(other)
  return false unless other.is_a? self.class
  return false unless @default == other.default
  return false unless @default_direction == other.default_direction
  return false unless @desc_key == other.desc_key
  return false unless @first_character_key == other.first_character_key
  return false unless @key == other.key
  return false unless @title == other.title
  true
end