Class InfoResponse
java.lang.Object
org.opensearch.client.opensearch.core.InfoResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<InfoResponse.Builder,InfoResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class InfoResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<InfoResponse.Builder,InfoResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<InfoResponse> Json deserializer forInfoResponse -
Method Summary
Modifier and TypeMethodDescriptionstatic InfoResponse.Builderbuilder()final StringRequired - API name:cluster_namefinal StringRequired - API name:cluster_uuidbooleaninthashCode()final Stringname()Required - API name:namestatic InfoResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Stringtagline()Required - API name:taglineCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final OpenSearchVersionInfoversion()Required - API name:versionMethods 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 forInfoResponse
-
-
Method Details
-
of
-
clusterName
Required - API name:cluster_name -
clusterUuid
Required - API name:cluster_uuid -
name
Required - API name:name -
tagline
Required - API name:tagline -
version
Required - API name:version -
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<InfoResponse.Builder,InfoResponse> - Returns:
- a new builder instance.
-
builder
-
setupInfoResponseDeserializer
-
hashCode
public int hashCode() -
equals
-