Package com.openai.models.vectorstores
Class VectorStoreSearchResponse.Content
-
- All Implemented Interfaces:
public final class VectorStoreSearchResponse.Content
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classVectorStoreSearchResponse.Content.BuilderA builder for Content.
public final classVectorStoreSearchResponse.Content.TypeThe type of content.
-
Method Summary
Modifier and Type Method Description final Stringtext()The text content returned from search. final VectorStoreSearchResponse.Content.Typetype()The type of content. final JsonField<String>_text()Returns the raw JSON value of text. final JsonField<VectorStoreSearchResponse.Content.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final VectorStoreSearchResponse.Content.BuildertoBuilder()final VectorStoreSearchResponse.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 VectorStoreSearchResponse.Content.Builderbuilder()Returns a mutable builder for constructing an instance of Content. -
-
Method Detail
-
type
final VectorStoreSearchResponse.Content.Type type()
The type of 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<VectorStoreSearchResponse.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 VectorStoreSearchResponse.Content.Builder toBuilder()
-
validate
final VectorStoreSearchResponse.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 VectorStoreSearchResponse.Content.Builder builder()
Returns a mutable builder for constructing an instance of Content.
The following fields are required:
.text() .type()
-
-
-
-