Class: PlexRubySDK::Models::Operations::GetLibrarySectionsAllUltraBlurColors

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(bottom_left: nil, bottom_right: nil, top_left: nil, top_right: nil) ⇒ GetLibrarySectionsAllUltraBlurColors

Returns a new instance of GetLibrarySectionsAllUltraBlurColors.



27
28
29
30
31
32
# File 'lib/plex_ruby_sdk/models/operations/get_library_sections_all_ultrablurcolors.rb', line 27

def initialize(bottom_left: nil, bottom_right: nil, top_left: nil, top_right: nil)
  @bottom_left = bottom_left
  @bottom_right = bottom_right
  @top_left = top_left
  @top_right = top_right
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_ultrablurcolors.rb', line 34

def ==(other)
  return false unless other.is_a? self.class
  return false unless @bottom_left == other.bottom_left
  return false unless @bottom_right == other.bottom_right
  return false unless @top_left == other.top_left
  return false unless @top_right == other.top_right
  true
end