Class TextEditorCodeExecutionToolResultBlockParam
-
- All Implemented Interfaces:
public final class TextEditorCodeExecutionToolResultBlockParam
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTextEditorCodeExecutionToolResultBlockParam.BuilderA builder for TextEditorCodeExecutionToolResultBlockParam.
public final classTextEditorCodeExecutionToolResultBlockParam.Content
-
Method Summary
Modifier and Type Method Description final TextEditorCodeExecutionToolResultBlockParam.Contentcontent()final StringtoolUseId()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("text_editor_code_execution_tool_result")final Optional<CacheControlEphemeral>cacheControl()Create a cache control breakpoint at this content block. final JsonField<TextEditorCodeExecutionToolResultBlockParam.Content>_content()Returns the raw JSON value of content. final JsonField<String>_toolUseId()Returns the raw JSON value of toolUseId. final JsonField<CacheControlEphemeral>_cacheControl()Returns the raw JSON value of cacheControl. final Map<String, JsonValue>_additionalProperties()final TextEditorCodeExecutionToolResultBlockParam.BuildertoBuilder()final TextEditorCodeExecutionToolResultBlockParamvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TextEditorCodeExecutionToolResultBlockParam.Builderbuilder()Returns a mutable builder for constructing an instance of TextEditorCodeExecutionToolResultBlockParam. -
-
Method Detail
-
content
final TextEditorCodeExecutionToolResultBlockParam.Content content()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("text_editor_code_execution_tool_result")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
cacheControl
final Optional<CacheControlEphemeral> cacheControl()
Create a cache control breakpoint at this content block.
-
_content
final JsonField<TextEditorCodeExecutionToolResultBlockParam.Content> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_toolUseId
final JsonField<String> _toolUseId()
Returns the raw JSON value of toolUseId.
Unlike toolUseId, this method doesn't throw if the JSON field has an unexpected type.
-
_cacheControl
final JsonField<CacheControlEphemeral> _cacheControl()
Returns the raw JSON value of cacheControl.
Unlike cacheControl, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TextEditorCodeExecutionToolResultBlockParam.Builder toBuilder()
-
validate
final TextEditorCodeExecutionToolResultBlockParam 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 TextEditorCodeExecutionToolResultBlockParam.Builder builder()
Returns a mutable builder for constructing an instance of TextEditorCodeExecutionToolResultBlockParam.
The following fields are required:
.content() .toolUseId()
-
-
-
-