Class: OpenAI::Models::BatchRequestCounts
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BatchRequestCounts
- Defined in:
- lib/openai/models/batch_request_counts.rb
Instance Attribute Summary collapse
-
#completed ⇒ Integer
Number of requests that have been completed successfully.
-
#failed ⇒ Integer
Number of requests that have failed.
-
#total ⇒ Integer
Total number of requests in the batch.
Instance Method Summary collapse
-
#initialize(completed: , failed: , total: ) ⇒ Object
constructor
The request counts for different statuses within the batch.
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, 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(completed: , failed: , total: ) ⇒ Object
The request counts for different statuses within the batch.
|
# File 'lib/openai/models/batch_request_counts.rb', line 24
|
Instance Attribute Details
#completed ⇒ Integer
Number of requests that have been completed successfully.
10 |
# File 'lib/openai/models/batch_request_counts.rb', line 10 required :completed, Integer |
#failed ⇒ Integer
Number of requests that have failed.
16 |
# File 'lib/openai/models/batch_request_counts.rb', line 16 required :failed, Integer |
#total ⇒ Integer
Total number of requests in the batch.
22 |
# File 'lib/openai/models/batch_request_counts.rb', line 22 required :total, Integer |