Class V1SimilarParams.Body.Builder
-
- All Implemented Interfaces:
public final class V1SimilarParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
url
final V1SimilarParams.Body.Builder url(String url)
URL of a legal document to find similar sources for
-
url
final V1SimilarParams.Body.Builder url(JsonField<String> url)
Sets Builder.url to an arbitrary JSON value.
You should usually call Builder.url with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
jurisdiction
final V1SimilarParams.Body.Builder jurisdiction(String jurisdiction)
Optional jurisdiction ID to filter results
-
jurisdiction
final V1SimilarParams.Body.Builder jurisdiction(JsonField<String> jurisdiction)
Sets Builder.jurisdiction to an arbitrary JSON value.
You should usually call Builder.jurisdiction with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
numResults
final V1SimilarParams.Body.Builder numResults(Long numResults)
Number of results 1-25 (default: 10)
-
numResults
final V1SimilarParams.Body.Builder numResults(JsonField<Long> numResults)
Sets Builder.numResults to an arbitrary JSON value.
You should usually call Builder.numResults with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
startPublishedDate
final V1SimilarParams.Body.Builder startPublishedDate(LocalDate startPublishedDate)
Optional ISO date to find only newer documents (e.g., "2020-01-01")
-
startPublishedDate
final V1SimilarParams.Body.Builder startPublishedDate(JsonField<LocalDate> startPublishedDate)
Sets Builder.startPublishedDate to an arbitrary JSON value.
You should usually call Builder.startPublishedDate with a well-typed LocalDate value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final V1SimilarParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final V1SimilarParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final V1SimilarParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final V1SimilarParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final V1SimilarParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final V1SimilarParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.url()
-
-
-
-