mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 12:47:44 +00:00
31 lines
1.0 KiB
Ruby
31 lines
1.0 KiB
Ruby
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
|
|
module OpenApiSDK
|
|
module Operations
|
|
|
|
|
|
class PerformSearchRequest < ::OpenApiSDK::Utils::FieldAugmented
|
|
extend T::Sig
|
|
|
|
# The query term
|
|
field :query, ::String, { 'query_param': { 'field_name': 'query', 'style': 'form', 'explode': true } }
|
|
# The number of items to return per hub
|
|
field :limit, T.nilable(::Float), { 'query_param': { 'field_name': 'limit', 'style': 'form', 'explode': true } }
|
|
# This gives context to the search, and can result in re-ordering of search result hubs
|
|
field :section_id, T.nilable(::Float), { 'query_param': { 'field_name': 'sectionId', 'style': 'form', 'explode': true } }
|
|
|
|
|
|
sig { params(query: ::String, limit: T.nilable(::Float), section_id: T.nilable(::Float)).void }
|
|
def initialize(query: nil, limit: nil, section_id: nil)
|
|
@query = query
|
|
@limit = limit
|
|
@section_id = section_id
|
|
end
|
|
end
|
|
end
|
|
end
|