mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 12:47:44 +00:00
49 lines
2.1 KiB
Ruby
49 lines
2.1 KiB
Ruby
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
|
|
module PlexRubySDK
|
|
module Operations
|
|
|
|
|
|
class GetOnDeckPart < ::Crystalline::FieldAugmented
|
|
extend T::Sig
|
|
|
|
|
|
field :audio_profile, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('audioProfile') } }
|
|
|
|
field :container, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('container') } }
|
|
|
|
field :duration, T.nilable(::Float), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('duration') } }
|
|
|
|
field :file, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('file') } }
|
|
|
|
field :id, T.nilable(::Float), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('id') } }
|
|
|
|
field :key, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('key') } }
|
|
|
|
field :size, T.nilable(::Float), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('size') } }
|
|
|
|
field :stream, T.nilable(T::Array[::PlexRubySDK::Operations::GetOnDeckStream]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Stream') } }
|
|
|
|
field :video_profile, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('videoProfile') } }
|
|
|
|
|
|
sig { params(audio_profile: T.nilable(::String), container: T.nilable(::String), duration: T.nilable(::Float), file: T.nilable(::String), id: T.nilable(::Float), key: T.nilable(::String), size: T.nilable(::Float), stream: T.nilable(T::Array[::PlexRubySDK::Operations::GetOnDeckStream]), video_profile: T.nilable(::String)).void }
|
|
def initialize(audio_profile: nil, container: nil, duration: nil, file: nil, id: nil, key: nil, size: nil, stream: nil, video_profile: nil)
|
|
@audio_profile = audio_profile
|
|
@container = container
|
|
@duration = duration
|
|
@file = file
|
|
@id = id
|
|
@key = key
|
|
@size = size
|
|
@stream = stream
|
|
@video_profile = video_profile
|
|
end
|
|
end
|
|
end
|
|
end
|