Class FileSearchToolCall.FileSearch.Result.Content
-
- All Implemented Interfaces:
public final class FileSearchToolCall.FileSearch.Result.Content
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFileSearchToolCall.FileSearch.Result.Content.BuilderA builder for Content.
public final classFileSearchToolCall.FileSearch.Result.Content.TypeThe type of the content.
-
Method Summary
Modifier and Type Method Description final Optional<String>text()The text content of the file. final Optional<FileSearchToolCall.FileSearch.Result.Content.Type>type()The type of the content. final JsonField<String>_text()Returns the raw JSON value of text. final JsonField<FileSearchToolCall.FileSearch.Result.Content.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final FileSearchToolCall.FileSearch.Result.Content.BuildertoBuilder()final FileSearchToolCall.FileSearch.Result.Contentvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileSearchToolCall.FileSearch.Result.Content.Builderbuilder()Returns a mutable builder for constructing an instance of Content. -
-
Method Detail
-
type
final Optional<FileSearchToolCall.FileSearch.Result.Content.Type> type()
The type of the content.
-
_text
final JsonField<String> _text()
Returns the raw JSON value of text.
Unlike text, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<FileSearchToolCall.FileSearch.Result.Content.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FileSearchToolCall.FileSearch.Result.Content.Builder toBuilder()
-
validate
final FileSearchToolCall.FileSearch.Result.Content 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 FileSearchToolCall.FileSearch.Result.Content.Builder builder()
Returns a mutable builder for constructing an instance of Content.
-
-
-
-