Class: PlexRubySDK::Models::Operations::GetLibraryDetailsType

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(active: nil, field: nil, filter: nil, key: nil, sort: nil, title: nil, type: nil) ⇒ GetLibraryDetailsType

Returns a new instance of GetLibraryDetailsType.



33
34
35
36
37
38
39
40
41
# File 'lib/plex_ruby_sdk/models/operations/get_library_details_type.rb', line 33

def initialize(active: nil, field: nil, filter: nil, key: nil, sort: nil, title: nil, type: nil)
  @active = active
  @field = field
  @filter = filter
  @key = key
  @sort = sort
  @title = title
  @type = type
end

Instance Method Details

#==(other) ⇒ Object



43
44
45
46
47
48
49
50
51
52
53
# File 'lib/plex_ruby_sdk/models/operations/get_library_details_type.rb', line 43

def ==(other)
  return false unless other.is_a? self.class
  return false unless @active == other.active
  return false unless @field == other.field
  return false unless @filter == other.filter
  return false unless @key == other.key
  return false unless @sort == other.sort
  return false unless @title == other.title
  return false unless @type == other.type
  true
end