Package com.openai.models.beta.responses
Class BetaResponseInputItem.CompactionTrigger.Builder
-
- All Implemented Interfaces:
public final class BetaResponseInputItem.CompactionTrigger.BuilderA builder for CompactionTrigger.
-
-
Method Summary
-
-
Method Detail
-
type
final BetaResponseInputItem.CompactionTrigger.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("compaction_trigger")This method is primarily for setting the field to an undocumented or not yet supported value.
-
agent
final BetaResponseInputItem.CompactionTrigger.Builder agent(BetaResponseInputItem.CompactionTrigger.Agent agent)
The agent that produced this item.
-
agent
final BetaResponseInputItem.CompactionTrigger.Builder agent(Optional<BetaResponseInputItem.CompactionTrigger.Agent> agent)
Alias for calling Builder.agent with
agent.orElse(null).
-
agent
final BetaResponseInputItem.CompactionTrigger.Builder agent(JsonField<BetaResponseInputItem.CompactionTrigger.Agent> agent)
Sets Builder.agent to an arbitrary JSON value.
You should usually call Builder.agent with a well-typed Agent value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaResponseInputItem.CompactionTrigger.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaResponseInputItem.CompactionTrigger.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaResponseInputItem.CompactionTrigger.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaResponseInputItem.CompactionTrigger.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaResponseInputItem.CompactionTrigger.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaResponseInputItem.CompactionTrigger build()
Returns an immutable instance of CompactionTrigger.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-