mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 12:47:44 +00:00
43 lines
2.0 KiB
Ruby
43 lines
2.0 KiB
Ruby
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
|
|
module PlexRubySDK
|
|
module Operations
|
|
|
|
|
|
class GetLibraryHubsMediaContainer < ::Crystalline::FieldAugmented
|
|
extend T::Sig
|
|
|
|
|
|
field :allow_sync, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('allowSync') } }
|
|
|
|
field :hub, T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryHubsHub]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('Hub') } }
|
|
|
|
field :identifier, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('identifier') } }
|
|
|
|
field :library_section_id, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('librarySectionID') } }
|
|
|
|
field :library_section_title, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('librarySectionTitle') } }
|
|
|
|
field :library_section_uuid, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('librarySectionUUID') } }
|
|
|
|
field :size, T.nilable(::Integer), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('size') } }
|
|
|
|
|
|
sig { params(allow_sync: T.nilable(T::Boolean), hub: T.nilable(T::Array[::PlexRubySDK::Operations::GetLibraryHubsHub]), identifier: T.nilable(::String), library_section_id: T.nilable(::Integer), library_section_title: T.nilable(::String), library_section_uuid: T.nilable(::String), size: T.nilable(::Integer)).void }
|
|
def initialize(allow_sync: nil, hub: nil, identifier: nil, library_section_id: nil, library_section_title: nil, library_section_uuid: nil, size: nil)
|
|
@allow_sync = allow_sync
|
|
@hub = hub
|
|
@identifier = identifier
|
|
@library_section_id = library_section_id
|
|
@library_section_title = library_section_title
|
|
@library_section_uuid = library_section_uuid
|
|
@size = size
|
|
end
|
|
end
|
|
end
|
|
end
|