Class BetaCitationContentBlockLocationParam.Builder
-
- All Implemented Interfaces:
public final class BetaCitationContentBlockLocationParam.BuilderA builder for BetaCitationContentBlockLocationParam.
-
-
Method Summary
-
-
Method Detail
-
citedText
final BetaCitationContentBlockLocationParam.Builder citedText(String citedText)
-
citedText
final BetaCitationContentBlockLocationParam.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 BetaCitationContentBlockLocationParam.Builder documentIndex(Long documentIndex)
-
documentIndex
final BetaCitationContentBlockLocationParam.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 BetaCitationContentBlockLocationParam.Builder documentTitle(String documentTitle)
-
documentTitle
final BetaCitationContentBlockLocationParam.Builder documentTitle(Optional<String> documentTitle)
Alias for calling Builder.documentTitle with
documentTitle.orElse(null).
-
documentTitle
final BetaCitationContentBlockLocationParam.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.
-
endBlockIndex
final BetaCitationContentBlockLocationParam.Builder endBlockIndex(Long endBlockIndex)
-
endBlockIndex
final BetaCitationContentBlockLocationParam.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.
-
startBlockIndex
final BetaCitationContentBlockLocationParam.Builder startBlockIndex(Long startBlockIndex)
-
startBlockIndex
final BetaCitationContentBlockLocationParam.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.
-
type
final BetaCitationContentBlockLocationParam.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("content_block_location")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaCitationContentBlockLocationParam.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaCitationContentBlockLocationParam.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaCitationContentBlockLocationParam.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaCitationContentBlockLocationParam.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaCitationContentBlockLocationParam.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaCitationContentBlockLocationParam build()
Returns an immutable instance of BetaCitationContentBlockLocationParam.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.citedText() .documentIndex() .documentTitle() .endBlockIndex() .startBlockIndex()
-
-
-
-