Class: PlexRubySDK::Models::Operations::StartUniversalTranscodeRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(has_mde: nil, media_index: nil, part_index: nil, path: nil, protocol: nil, add_debug_overlay: nil, audio_boost: nil, auto_adjust_quality: nil, direct_play: nil, direct_stream: nil, fast_seek: nil, location: nil, media_buffer_size: nil, session: nil, subtites: nil, subtitle_size: nil) ⇒ StartUniversalTranscodeRequest

Returns a new instance of StartUniversalTranscodeRequest.



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'lib/plex_ruby_sdk/models/operations/startuniversaltranscode_request.rb', line 51

def initialize(has_mde: nil, media_index: nil, part_index: nil, path: nil, protocol: nil, add_debug_overlay: nil, audio_boost: nil, auto_adjust_quality: nil, direct_play: nil, direct_stream: nil, fast_seek: nil, location: nil, media_buffer_size: nil, session: nil, subtites: nil, subtitle_size: nil)
  @has_mde = has_mde
  @media_index = media_index
  @part_index = part_index
  @path = path
  @protocol = protocol
  @add_debug_overlay = add_debug_overlay
  @audio_boost = audio_boost
  @auto_adjust_quality = auto_adjust_quality
  @direct_play = direct_play
  @direct_stream = direct_stream
  @fast_seek = fast_seek
  @location = location
  @media_buffer_size = media_buffer_size
  @session = session
  @subtites = subtites
  @subtitle_size = subtitle_size
end

Instance Method Details

#==(other) ⇒ Object



70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# File 'lib/plex_ruby_sdk/models/operations/startuniversaltranscode_request.rb', line 70

def ==(other)
  return false unless other.is_a? self.class
  return false unless @has_mde == other.has_mde
  return false unless @media_index == other.media_index
  return false unless @part_index == other.part_index
  return false unless @path == other.path
  return false unless @protocol == other.protocol
  return false unless @add_debug_overlay == other.add_debug_overlay
  return false unless @audio_boost == other.audio_boost
  return false unless @auto_adjust_quality == other.auto_adjust_quality
  return false unless @direct_play == other.direct_play
  return false unless @direct_stream == other.direct_stream
  return false unless @fast_seek == other.fast_seek
  return false unless @location == other.location
  return false unless @media_buffer_size == other.media_buffer_size
  return false unless @session == other.session
  return false unless @subtites == other.subtites
  return false unless @subtitle_size == other.subtitle_size
  true
end