Class: OpenAI::Models::BatchCreateParams::OutputExpiresAfter
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BatchCreateParams::OutputExpiresAfter
- Defined in:
- lib/openai/models/batch_create_params.rb
Instance Attribute Summary collapse
-
#anchor ⇒ Symbol, :created_at
Anchor timestamp after which the expiration policy applies.
-
#seconds ⇒ Integer
The number of seconds after the anchor time that the file will expire.
Instance Method Summary collapse
-
#initialize(seconds:, anchor: :created_at) ⇒ Object
constructor
Some parameter documentations has been truncated, see OutputExpiresAfter for more details.
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(seconds:, anchor: :created_at) ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::BatchCreateParams::OutputExpiresAfter for more details.
The expiration policy for the output and/or error file that are generated for a batch.
|
|
# File 'lib/openai/models/batch_create_params.rb', line 120
|
Instance Attribute Details
#anchor ⇒ Symbol, :created_at
Anchor timestamp after which the expiration policy applies. Supported anchors: ‘created_at`. Note that the anchor is the file creation time, not the time the batch is created.
111 |
# File 'lib/openai/models/batch_create_params.rb', line 111 required :anchor, const: :created_at |
#seconds ⇒ Integer
The number of seconds after the anchor time that the file will expire. Must be between 3600 (1 hour) and 2592000 (30 days).
118 |
# File 'lib/openai/models/batch_create_params.rb', line 118 required :seconds, Integer |