Class CitationPageLocation.Builder
-
- All Implemented Interfaces:
public final class CitationPageLocation.BuilderA builder for CitationPageLocation.
-
-
Method Summary
-
-
Method Detail
-
citedText
final CitationPageLocation.Builder citedText(String citedText)
-
citedText
final CitationPageLocation.Builder citedText(JsonField<String> citedText)
Sets Builder.citedText to an arbitrary JSON value.
You should usually call Builder.citedText with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
documentIndex
final CitationPageLocation.Builder documentIndex(Long documentIndex)
-
documentIndex
final CitationPageLocation.Builder documentIndex(JsonField<Long> documentIndex)
Sets Builder.documentIndex to an arbitrary JSON value.
You should usually call Builder.documentIndex with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
documentTitle
final CitationPageLocation.Builder documentTitle(String documentTitle)
-
documentTitle
final CitationPageLocation.Builder documentTitle(Optional<String> documentTitle)
Alias for calling Builder.documentTitle with
documentTitle.orElse(null).
-
documentTitle
final CitationPageLocation.Builder documentTitle(JsonField<String> documentTitle)
Sets Builder.documentTitle to an arbitrary JSON value.
You should usually call Builder.documentTitle with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
endPageNumber
final CitationPageLocation.Builder endPageNumber(Long endPageNumber)
-
endPageNumber
final CitationPageLocation.Builder endPageNumber(JsonField<Long> endPageNumber)
Sets Builder.endPageNumber to an arbitrary JSON value.
You should usually call Builder.endPageNumber with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
startPageNumber
final CitationPageLocation.Builder startPageNumber(Long startPageNumber)
-
startPageNumber
final CitationPageLocation.Builder startPageNumber(JsonField<Long> startPageNumber)
Sets Builder.startPageNumber to an arbitrary JSON value.
You should usually call Builder.startPageNumber 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 CitationPageLocation.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("page_location")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final CitationPageLocation.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CitationPageLocation.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CitationPageLocation.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CitationPageLocation.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CitationPageLocation.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CitationPageLocation build()
Returns an immutable instance of CitationPageLocation.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.citedText() .documentIndex() .documentTitle() .endPageNumber() .startPageNumber()
-
-
-
-