Class: OpenAI::Models::Containers::FileListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Containers::FileListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/openai/models/containers/file_list_params.rb
Overview
Defined Under Namespace
Modules: Order
Instance Attribute Summary collapse
-
#after ⇒ String?
A cursor for use in pagination.
-
#limit ⇒ Integer?
A limit on the number of objects to be returned.
-
#order ⇒ Symbol, ...
Sort order by the
created_attimestamp of the objects.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(after: nil, limit: nil, order: nil, request_options: {}) ⇒ void
constructor
Some parameter documentations has been truncated, see FileListParams 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, 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, limit: nil, order: nil, request_options: {}) ⇒ void
Some parameter documentations has been truncated, see OpenAI::Models::Containers::FileListParams for more details.
|
|
# File 'lib/openai/models/containers/file_list_params.rb', line 34
|
Instance Attribute Details
#after ⇒ String?
A cursor for use in pagination. after is an object ID that defines your place
in the list. For instance, if you make a list request and receive 100 objects,
ending with obj_foo, your subsequent call can include after=obj_foo in order to
fetch the next page of the list.
18 |
# File 'lib/openai/models/containers/file_list_params.rb', line 18 optional :after, String |
#limit ⇒ Integer?
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
25 |
# File 'lib/openai/models/containers/file_list_params.rb', line 25 optional :limit, Integer |
#order ⇒ Symbol, ...
Sort order by the created_at timestamp of the objects. asc for ascending
order and desc for descending order.
32 |
# File 'lib/openai/models/containers/file_list_params.rb', line 32 optional :order, enum: -> { OpenAI::Containers::FileListParams::Order } |