Class V1ResearchResponse.Builder
-
- All Implemented Interfaces:
public final class V1ResearchResponse.BuilderA builder for V1ResearchResponse.
-
-
Method Summary
-
-
Method Detail
-
additionalQueries
final V1ResearchResponse.Builder additionalQueries(List<String> additionalQueries)
Additional queries used
-
additionalQueries
final V1ResearchResponse.Builder additionalQueries(Optional<List<String>> additionalQueries)
Alias for calling Builder.additionalQueries with
additionalQueries.orElse(null).
-
additionalQueries
final V1ResearchResponse.Builder additionalQueries(JsonField<List<String>> additionalQueries)
Sets Builder.additionalQueries to an arbitrary JSON value.
You should usually call Builder.additionalQueries with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addAdditionalQuery
final V1ResearchResponse.Builder addAdditionalQuery(String additionalQuery)
Adds a single String to additionalQueries.
-
candidates
final V1ResearchResponse.Builder candidates(List<V1ResearchResponse.Candidate> candidates)
-
candidates
final V1ResearchResponse.Builder candidates(JsonField<List<V1ResearchResponse.Candidate>> candidates)
Sets Builder.candidates to an arbitrary JSON value.
You should usually call Builder.candidates with a well-typed
List<Candidate>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addCandidate
final V1ResearchResponse.Builder addCandidate(V1ResearchResponse.Candidate candidate)
Adds a single Candidate to candidates.
-
found
final V1ResearchResponse.Builder found(Long found)
Number of candidates found
-
found
final V1ResearchResponse.Builder found(JsonField<Long> found)
Sets Builder.found to an arbitrary JSON value.
You should usually call Builder.found with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
hint
final V1ResearchResponse.Builder hint(String hint)
Usage guidance
-
hint
final V1ResearchResponse.Builder hint(JsonField<String> hint)
Sets Builder.hint to an arbitrary JSON value.
You should usually call Builder.hint 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 V1ResearchResponse.Builder jurisdiction(String jurisdiction)
Jurisdiction filter applied
-
jurisdiction
final V1ResearchResponse.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.
-
query
final V1ResearchResponse.Builder query(String query)
Primary search query
-
query
final V1ResearchResponse.Builder query(JsonField<String> query)
Sets Builder.query to an arbitrary JSON value.
You should usually call Builder.query with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
searchType
final V1ResearchResponse.Builder searchType(String searchType)
Search type used (deep)
-
searchType
final V1ResearchResponse.Builder searchType(JsonField<String> searchType)
Sets Builder.searchType to an arbitrary JSON value.
You should usually call Builder.searchType with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final V1ResearchResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final V1ResearchResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final V1ResearchResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final V1ResearchResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final V1ResearchResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final V1ResearchResponse build()
Returns an immutable instance of V1ResearchResponse.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-