Class: OpenAI::Models::Beta::ChatKit::ThreadListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::ChatKit::ThreadListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/openai/models/beta/chatkit/thread_list_params.rb
Overview
Defined Under Namespace
Modules: Order
Instance Attribute Summary collapse
-
#after ⇒ String?
List items created after this thread item ID.
-
#before ⇒ String?
List items created before this thread item ID.
-
#limit ⇒ Integer?
Maximum number of thread items to return.
-
#order ⇒ Symbol, ...
Sort order for results by creation time.
-
#user ⇒ String?
Filter threads that belong to this user identifier.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(after: nil, before: nil, limit: nil, order: nil, user: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see ThreadListParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(after: nil, before: nil, limit: nil, order: nil, user: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::Beta::ChatKit::ThreadListParams for more details.
|
|
# File 'lib/openai/models/beta/chatkit/thread_list_params.rb', line 45
|
Instance Attribute Details
#after ⇒ String?
List items created after this thread item ID. Defaults to null for the first page.
17 |
# File 'lib/openai/models/beta/chatkit/thread_list_params.rb', line 17 optional :after, String |
#before ⇒ String?
List items created before this thread item ID. Defaults to null for the newest results.
24 |
# File 'lib/openai/models/beta/chatkit/thread_list_params.rb', line 24 optional :before, String |
#limit ⇒ Integer?
Maximum number of thread items to return. Defaults to 20.
30 |
# File 'lib/openai/models/beta/chatkit/thread_list_params.rb', line 30 optional :limit, Integer |
#order ⇒ Symbol, ...
Sort order for results by creation time. Defaults to ‘desc`.
36 |
# File 'lib/openai/models/beta/chatkit/thread_list_params.rb', line 36 optional :order, enum: -> { OpenAI::Beta::ChatKit::ThreadListParams::Order } |
#user ⇒ String?
Filter threads that belong to this user identifier. Defaults to null to return all users.
43 |
# File 'lib/openai/models/beta/chatkit/thread_list_params.rb', line 43 optional :user, String |