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