Class: PlexRubySDK::Models::Operations::GetThumbImageRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(height: nil, min_size: nil, rating_key: nil, upscale: nil, width: nil, x_plex_token: nil) ⇒ GetThumbImageRequest

Returns a new instance of GetThumbImageRequest.



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

def initialize(height: nil, min_size: nil, rating_key: nil, upscale: nil, width: nil, x_plex_token: nil)
  @height = height
  @min_size = min_size
  @rating_key = rating_key
  @upscale = upscale
  @width = width
  @x_plex_token = x_plex_token
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  return false unless @height == other.height
  return false unless @min_size == other.min_size
  return false unless @rating_key == other.rating_key
  return false unless @upscale == other.upscale
  return false unless @width == other.width
  return false unless @x_plex_token == other.x_plex_token
  true
end