mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 12:47:44 +00:00
28 lines
1018 B
Ruby
28 lines
1018 B
Ruby
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
|
|
module PlexRubySDK
|
|
module Operations
|
|
|
|
|
|
class GetGlobalHubsRequest < ::PlexRubySDK::Utils::FieldAugmented
|
|
extend T::Sig
|
|
|
|
# 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(::PlexRubySDK::Operations::OnlyTransient), { 'query_param': { 'field_name': 'onlyTransient', 'style': 'form', 'explode': true } }
|
|
|
|
|
|
sig { params(count: T.nilable(::Float), only_transient: T.nilable(::PlexRubySDK::Operations::OnlyTransient)).void }
|
|
def initialize(count: nil, only_transient: nil)
|
|
@count = count
|
|
@only_transient = only_transient
|
|
end
|
|
end
|
|
end
|
|
end
|