# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module PlexRubySDK
  module Operations
  

    class PerformSearchRequest < ::PlexRubySDK::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
