mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 12:47:44 +00:00
35 lines
1.0 KiB
Ruby
35 lines
1.0 KiB
Ruby
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
|
|
module PlexRubySDK
|
|
module Operations
|
|
|
|
|
|
class GetTranscodeSessionsMediaContainer < ::Crystalline::FieldAugmented
|
|
extend T::Sig
|
|
|
|
|
|
field :size, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('size') } }
|
|
|
|
field :transcode_session, T.nilable(T::Array[::PlexRubySDK::Operations::TranscodeSession]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('TranscodeSession') } }
|
|
|
|
|
|
sig { params(size: T.nilable(::Integer), transcode_session: T.nilable(T::Array[::PlexRubySDK::Operations::TranscodeSession])).void }
|
|
def initialize(size: nil, transcode_session: nil)
|
|
@size = size
|
|
@transcode_session = transcode_session
|
|
end
|
|
|
|
def ==(other)
|
|
return false unless other.is_a? self.class
|
|
return false unless @size == other.size
|
|
return false unless @transcode_session == other.transcode_session
|
|
true
|
|
end
|
|
end
|
|
end
|
|
end
|