Package com.openai.models.responses
Class ResponseInputImageContent.PromptCacheBreakpoint
-
- All Implemented Interfaces:
public final class ResponseInputImageContent.PromptCacheBreakpointMarks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's
prompt_cache_options.ttl; the boundary is not rounded to a token block.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseInputImageContent.PromptCacheBreakpoint.BuilderA builder for PromptCacheBreakpoint.
-
Method Summary
Modifier and Type Method Description final JsonValue_mode()The breakpoint mode. final Map<String, JsonValue>_additionalProperties()final ResponseInputImageContent.PromptCacheBreakpoint.BuildertoBuilder()final ResponseInputImageContent.PromptCacheBreakpointvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseInputImageContent.PromptCacheBreakpoint.Builderbuilder()Returns a mutable builder for constructing an instance of PromptCacheBreakpoint. -
-
Method Detail
-
_mode
final JsonValue _mode()
The breakpoint mode. Always
explicit.Expected to always return the following:
JsonValue.from("explicit")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseInputImageContent.PromptCacheBreakpoint.Builder toBuilder()
-
validate
final ResponseInputImageContent.PromptCacheBreakpoint validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ResponseInputImageContent.PromptCacheBreakpoint.Builder builder()
Returns a mutable builder for constructing an instance of PromptCacheBreakpoint.
-
-
-
-