Class BoostListExtractParams.Body
-
- All Implemented Interfaces:
public final class BoostListExtractParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBoostListExtractParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Optional<List<BoostListExtractParams.Category>>categories()Optional filter for entity categories to extract final Optional<List<String>>objectIds()Object IDs of documents to extract entities from (PDFs, text files) final Optional<String>text()Raw text input for entity extraction (alternative to vault documents) final Optional<String>vaultId()Vault ID containing the source documents (use with object_ids) final JsonField<List<BoostListExtractParams.Category>>_categories()Returns the raw JSON value of categories. final JsonField<List<String>>_objectIds()Returns the raw JSON value of objectIds. final JsonField<String>_text()Returns the raw JSON value of text. final JsonField<String>_vaultId()Returns the raw JSON value of vaultId. final Map<String, JsonValue>_additionalProperties()final BoostListExtractParams.Body.BuildertoBuilder()final BoostListExtractParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BoostListExtractParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
categories
final Optional<List<BoostListExtractParams.Category>> categories()
Optional filter for entity categories to extract
-
objectIds
final Optional<List<String>> objectIds()
Object IDs of documents to extract entities from (PDFs, text files)
-
text
final Optional<String> text()
Raw text input for entity extraction (alternative to vault documents)
-
vaultId
final Optional<String> vaultId()
Vault ID containing the source documents (use with object_ids)
-
_categories
final JsonField<List<BoostListExtractParams.Category>> _categories()
Returns the raw JSON value of categories.
Unlike categories, this method doesn't throw if the JSON field has an unexpected type.
-
_objectIds
final JsonField<List<String>> _objectIds()
Returns the raw JSON value of objectIds.
Unlike objectIds, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_vaultId
final JsonField<String> _vaultId()
Returns the raw JSON value of vaultId.
Unlike vaultId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BoostListExtractParams.Body.Builder toBuilder()
-
validate
final BoostListExtractParams.Body 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 BoostListExtractParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-