Class GetJudgmentsResponse
java.lang.Object
org.opensearch.client.opensearch.search_relevance.GetJudgmentsResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<GetJudgmentsResponse.Builder,GetJudgmentsResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GetJudgmentsResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<GetJudgmentsResponse.Builder,GetJudgmentsResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetJudgmentsResponse> Json deserializer forGetJudgmentsResponse -
Method Summary
Modifier and TypeMethodDescriptionstatic GetJudgmentsResponse.Builderbuilder()booleaninthashCode()hits()API name:hitsfinal Stringid()API name:idAPI name:judgmentScoresmetadata()API name:metadatafinal Stringname()API name:namestatic GetJudgmentsResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidshards()API name:_shardsfinal Stringstatus()API name:statusfinal BooleantimedOut()API name:timed_outfinal StringAPI name:timestampCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Integertook()API name:tookfinal Stringtype()API name:typeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forGetJudgmentsResponse
-
-
Method Details
-
of
public static GetJudgmentsResponse of(Function<GetJudgmentsResponse.Builder, ObjectBuilder<GetJudgmentsResponse>> fn) -
hits
API name:hits -
id
API name:id -
judgmentScores
API name:judgmentScores -
metadata
API name:metadata -
name
API name:name -
shards
API name:_shards -
status
API name:status -
timedOut
API name:timed_out -
timestamp
API name:timestamp -
took
API name:took -
type
API name:type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GetJudgmentsResponse.Builder,GetJudgmentsResponse> - Returns:
- a new builder instance.
-
builder
-
setupGetJudgmentsResponseDeserializer
protected static void setupGetJudgmentsResponseDeserializer(ObjectDeserializer<GetJudgmentsResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-