Class ResponseTextAnnotationDeltaEvent.Annotation.FilePath.Builder
-
- All Implemented Interfaces:
public final class ResponseTextAnnotationDeltaEvent.Annotation.FilePath.Builder
A builder for FilePath.
-
-
Method Summary
-
-
Method Detail
-
fileId
final ResponseTextAnnotationDeltaEvent.Annotation.FilePath.Builder fileId(String fileId)
The ID of the file.
-
fileId
final ResponseTextAnnotationDeltaEvent.Annotation.FilePath.Builder fileId(JsonField<String> fileId)
Sets Builder.fileId to an arbitrary JSON value.
You should usually call Builder.fileId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
index
final ResponseTextAnnotationDeltaEvent.Annotation.FilePath.Builder index(Long index)
The index of the file in the list of files.
-
index
final ResponseTextAnnotationDeltaEvent.Annotation.FilePath.Builder index(JsonField<Long> index)
Sets Builder.index to an arbitrary JSON value.
You should usually call Builder.index with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ResponseTextAnnotationDeltaEvent.Annotation.FilePath.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("file_path")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseTextAnnotationDeltaEvent.Annotation.FilePath.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseTextAnnotationDeltaEvent.Annotation.FilePath.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseTextAnnotationDeltaEvent.Annotation.FilePath.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseTextAnnotationDeltaEvent.Annotation.FilePath.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseTextAnnotationDeltaEvent.Annotation.FilePath.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseTextAnnotationDeltaEvent.Annotation.FilePath build()
Returns an immutable instance of FilePath.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.fileId() .index()
-
-
-
-