Class: PlexRubySDK::Models::Operations::TranscodeSession
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::TranscodeSession
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/transcodesession.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(audio_channels: nil, audio_codec: nil, audio_decision: nil, complete: nil, container: nil, context: nil, duration: nil, error: nil, key: nil, max_offset_available: nil, min_offset_available: nil, progress: nil, protocol: nil, remaining: nil, size: nil, source_audio_codec: nil, source_video_codec: nil, speed: nil, subtitle_decision: nil, throttled: nil, time_stamp: nil, transcode_hw_requested: nil, video_codec: nil, video_decision: nil) ⇒ TranscodeSession
constructor
A new instance of TranscodeSession.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(audio_channels: nil, audio_codec: nil, audio_decision: nil, complete: nil, container: nil, context: nil, duration: nil, error: nil, key: nil, max_offset_available: nil, min_offset_available: nil, progress: nil, protocol: nil, remaining: nil, size: nil, source_audio_codec: nil, source_video_codec: nil, speed: nil, subtitle_decision: nil, throttled: nil, time_stamp: nil, transcode_hw_requested: nil, video_codec: nil, video_decision: nil) ⇒ TranscodeSession
Returns a new instance of TranscodeSession.
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/plex_ruby_sdk/models/operations/transcodesession.rb', line 67 def initialize(audio_channels: nil, audio_codec: nil, audio_decision: nil, complete: nil, container: nil, context: nil, duration: nil, error: nil, key: nil, max_offset_available: nil, min_offset_available: nil, progress: nil, protocol: nil, remaining: nil, size: nil, source_audio_codec: nil, source_video_codec: nil, speed: nil, subtitle_decision: nil, throttled: nil, time_stamp: nil, transcode_hw_requested: nil, video_codec: nil, video_decision: nil) @audio_channels = audio_channels @audio_codec = audio_codec @audio_decision = audio_decision @complete = complete @container = container @context = context @duration = duration @error = error @key = key @max_offset_available = max_offset_available @min_offset_available = min_offset_available @progress = progress @protocol = protocol @remaining = remaining @size = size @source_audio_codec = source_audio_codec @source_video_codec = source_video_codec @speed = speed @subtitle_decision = subtitle_decision @throttled = throttled @time_stamp = time_stamp @transcode_hw_requested = transcode_hw_requested @video_codec = video_codec @video_decision = video_decision end |
Instance Method Details
#==(other) ⇒ Object
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/plex_ruby_sdk/models/operations/transcodesession.rb', line 94 def ==(other) return false unless other.is_a? self.class return false unless @audio_channels == other.audio_channels return false unless @audio_codec == other.audio_codec return false unless @audio_decision == other.audio_decision return false unless @complete == other.complete return false unless @container == other.container return false unless @context == other.context return false unless @duration == other.duration return false unless @error == other.error return false unless @key == other.key return false unless @max_offset_available == other.max_offset_available return false unless @min_offset_available == other.min_offset_available return false unless @progress == other.progress return false unless @protocol == other.protocol return false unless @remaining == other.remaining return false unless @size == other.size return false unless @source_audio_codec == other.source_audio_codec return false unless @source_video_codec == other.source_video_codec return false unless @speed == other.speed return false unless @subtitle_decision == other.subtitle_decision return false unless @throttled == other.throttled return false unless @time_stamp == other.time_stamp return false unless @transcode_hw_requested == other.transcode_hw_requested return false unless @video_codec == other.video_codec return false unless @video_decision == other.video_decision true end |