Files
plexruby/lib/open_api_sdk/models/operations/getlibraryhubs_request.rb

31 lines
1.2 KiB
Ruby

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
# typed: true
# frozen_string_literal: true
module OpenApiSDK
module Operations
class GetLibraryHubsRequest < ::OpenApiSDK::Utils::FieldAugmented
extend T::Sig
# the Id of the library to query
field :section_id, ::Float, { 'path_param': { 'field_name': 'sectionId', 'style': 'simple', 'explode': false } }
# The number of items to return with each hub.
field :count, T.nilable(::Float), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': true } }
# Only return hubs which are "transient", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added).
field :only_transient, T.nilable(::OpenApiSDK::Operations::QueryParamOnlyTransient), { 'query_param': { 'field_name': 'onlyTransient', 'style': 'form', 'explode': true } }
sig { params(section_id: ::Float, count: T.nilable(::Float), only_transient: T.nilable(::OpenApiSDK::Operations::QueryParamOnlyTransient)).void }
def initialize(section_id: nil, count: nil, only_transient: nil)
@section_id = section_id
@count = count
@only_transient = only_transient
end
end
end
end