Class FileCitationBody.Builder
-
- All Implemented Interfaces:
public final class FileCitationBody.Builder
A builder for FileCitationBody.
-
-
Method Summary
-
-
Method Detail
-
fileId
final FileCitationBody.Builder fileId(String fileId)
The ID of the file.
-
fileId
final FileCitationBody.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.
-
filename
final FileCitationBody.Builder filename(String filename)
The filename of the file cited.
-
filename
final FileCitationBody.Builder filename(JsonField<String> filename)
Sets Builder.filename to an arbitrary JSON value.
You should usually call Builder.filename 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 FileCitationBody.Builder index(Long index)
The index of the file in the list of files.
-
index
final FileCitationBody.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 FileCitationBody.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_citation")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final FileCitationBody.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FileCitationBody.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FileCitationBody.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FileCitationBody.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FileCitationBody.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FileCitationBody build()
Returns an immutable instance of FileCitationBody.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.fileId() .filename() .index()
-
-
-
-