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 class
FileSearchToolCall.FileSearch.Result.Content.Builder
A builder for Content.
public final class
FileSearchToolCall.FileSearch.Result.Content.Type
The 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.Builder
toBuilder()
final FileSearchToolCall.FileSearch.Result.Content
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static FileSearchToolCall.FileSearch.Result.Content.Builder
builder()
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()
-
builder
final static FileSearchToolCall.FileSearch.Result.Content.Builder builder()
Returns a mutable builder for constructing an instance of Content.
-
-
-
-